Search
Diagram.SnapToAnchor Property
See Also
 





Gets or sets when link end points should be aligned to the nearest anchor points.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public SnapToAnchor SnapToAnchor { get; set; }

Visual Basic  Copy Code

Public Property SnapToAnchor As SnapToAnchor

 Property Value

A member of the SnapToAnchor enumeration. The default is OnCreate.

 Remarks

The default value OnCreate, specifies that links are snapped to anchor points when they are created, but allows the user to move the link ends to different locations of a node. The OnCreateOrModify value makes link ends points connect to node anchors both if links are created or modified.

 See Also