To get the port property flags.

syntaxSyntax:
DlxSheetport.GetPortFlags()

Return Value

Returns a combination of the following values:

Value Meaning
DlxApp.PORTFLAGS_SHOWLINE When this option is enabled, the line connecting the two characteristic points of a port is visible.
DlxApp.PORTFLAGS_UPDATETEXT Indicates whether the name should be repositioned automatically when the port is rotated.
DlxApp.PORTFLAGS_SHOWNAME Determines whether the port name is visible.
DlxApp.PORTFLAGS_VNAME Specifies the orientation of the name when the port is placed vertically.
DlxApp.PORTFLAGS_GRAPHIXONLY Activate this option to insert a sheet port as a simple graphic object without electrical functions.

Example

  Copy codeCopy code

See also