DiagramLinks

public Class

A DiagramLink is an object that holds display information about a connector between two elements in a specific diagram. It includes, for example, the custom points and display appearance. Accessed from the Diagram DiagramLinks collection.

Associated table in .EAP file: t_diagramlinks

DiagramLinks Attributes

Attribute

Type

Notes

ConnectorID

Long

Read/Write. The ID of the associated connector.

DiagramID

Long

Read/Write. The local ID for the associated diagram.

Geometry

String

Read/Write. The geometry associated with the current connector in this diagram.

InstanceID

Long

Read only. Holds the connector identifier for the current model.

IsHidden

Boolean

Read/Write. Flag to indicate if this item is hidden or not.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Path

String

Read/Write. The path of the connector in this diagram.

Style

String

Read/Write. Additional style information; for example, color, thickness.

DiagramLinks Methods

Method

Type

Notes

GetLastError ()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used as an exception is thrown when an error occurs.

Update ()

Boolean

Update the current DiagramLink object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.