NetDiagram Programmer's Guide
DiagramLink.Origin Property
See Also
 





Gets or sets the origin node of the link.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramNode Origin { get; set; }

Visual Basic  Copy Code

Public Property Origin As DiagramNode

 Property Value

A reference to the origin DiagramNode of the link.

 Remarks

The link's origin can be changed programmatically with this property. If any of the connected nodes has an AnchorPattern defined, links ends are placed at the nearest anchor points of the two nodes. If AutoRoute is enabled, the link is routed when changing its origin or destination.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace
Destination Property
OriginAnchor Property
Query Method