Anchors a node to the specified edges of the master node.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool AttachToEdges ( |
Visual Basic Copy Code |
---|
Public Function AttachToEdges( _ |
The DiagramNode to be attached.
false if the node could not be attached; otherwise, true.
This method can be used only if the master item in the group is a node. Anchoring works in a manner similar to how child controls in a form can be anchored to the form edges. When the master node position changes, the position of the attached node is also changed so that the initial distance between the specified edges is preserved.
NetDiagram Programmer's Guide | © 2023 MindFusion |