Link object
The Link object defines a link between two elements on the surface. The link starts from ElementFrom element and ends on ElementTo element. The Link object supports the following properties and methods:

NameDescription
AllowControlPointIndicates the control points of the link, the user can use to customize the link.
ArrowColorGets or sets a value that indicates the link's arrow color.
ArrowFrameColorCustomizes the color to show the frame of the arrow.
ArrowSizeGets or sets the size to show the arrow for specified link.
CaptionGets or sets a value that indicates the HTML caption to be displayed on the link.
CaptionAlignIndicates the alignment of the link's caption.
ColorGets or sets a value that indicates the link's color.
CustomPathSpecifies the link's custom path.
ElementFromSpecifies the element where the link starts from.
ElementToSpecifies the element where the link ends into.
EndPosSpecifies where the link ends on the target/to element.
EndUpdateLinkAdds programmatically updated properties of the link to undo/redo queue.
IDSpecifies the link's unique identifier.
ShowDirShows or hides the link's direction.
ShowLinkTypeSpecifies how the link shows from source to target element.
StartPosSpecifies where the link starts on the source/from element.
StartUpdateLinkStarts changing properties of the link, so EndUpdateLink method adds programmatically updated properties to undo/redo queue.
StyleSpecifies the link's style.
ToolTipGets or sets a value (tooltip) that's displayed once the cursor hovers the link.
ToolTipTitleGets or sets a value (title) that's displayed once the cursor hovers the link.
UserDataIndicates any extra data associated with the link.
VisibleShows or hides the link.
WidthGets or sets a value that indicates the link's width.