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.
Type: hwdcConnectionPoint

Outputs

portVisible
Boolean representing whether or not a port's label is visible.
Type: Boolean

Examples

Check if a port's label is visible or not:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          portList = bdeGetPortsOnBlock(block);
          portX = portList{[1, 1]};
          portVisible = bdeIsPortLabelVisible(portX);
        

          
            portVisible = 1