Connection

Connection class

Contains elements for one connection point defined for the shape.

Connection()

Constructor.

Properties

NameTypeDescription
NameStringThe name of the element.
NameUStringThe universal name of the element.
IDintThe unique ID of the element within its parent element.
IXintThe zero-based index of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
XDoubleValueSpecifies an x-coordinate on a shape in local coordinates.
YDoubleValueSpecifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the sh
DirXDoubleValueSpecifies the x-component for the required alignment vector of a matching connection point. The DirX element is also use
DirYDoubleValueSpecifies the y-component for the required alignment vector of a matching connection point. The DirY element is also use
TypeTypeConnectionSpecifies various types, based on the element in which it is contained.
AutoGenBoolValueSpecifies if the connection point is generated automatically. A value of 1 indicates that the connection point is genera
PromptStr2ValueContains varying prompt information, based on the element in which it is contained.

Methods

NameDescription
deepCloneCreates deep copy of this instance.