bdeSetPortLabelVisibility
Sets the visibility of a port label.
Syntax
bdeSetPortLabelVisibility(port, visibility)
Inputs
- port
- The port that will it's label's visibility set.
- visibility
- Boolean representing whether or not a port's label is visible. true for visible, false for not visible.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
bdeSetPortLabelVisibility(portX, false);