To set the port property flags.
Syntax: |
DlxPort.SetPortFlags(flags)
|
Parameters
Parameter |
Description |
flags |
Specify a combination of the following values:
DlxApp.PORTFLAGS_DEFAULTS |
PORTFLAGS_SHOWLINE|PORTFLAGS_SHOWNAME|PORTFLAGS_VNAME|PORTFLAGS_UPDATETEXT |
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. |
|
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Example
|
Copy code
|
|
See also