bdeIsPortLabelVisible
Returns a value showing whether the port label is visible or not.
Syntax
portVisible = bdeIsPortLabelVisible(port)
Inputs
- port
- The port to get the label visibility of.
Outputs
- portVisible
- Boolean representing whether or not a port's label is visible.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
portVisible = bdeIsPortLabelVisible(portX);
portVisible = 1