MindFusion.Wpf Pack Programmer's Guide
Group.AttachToLinkPoint Method
See Also
 





Attaches a node to the specified control point of the link that is MainItem.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool AttachToLinkPoint (
    DiagramNode node,
    int point
)

Visual Basic  Copy Code

Public Function AttachToLinkPoint( _
    node As DiagramNode, _
    point As Integer _
) As Boolean

 Parameters

node
The DiagramNode to be attached.
point

The link point to which the node should be attached.

 Return Value

false if the node could not be attached; otherwise, true.

 Remarks

You can use this method when the main item of the group is a link. When the user moves the link control point whose index is passed as argument, the attached node is also moved with the same translation vector as that of the control point.

 See Also

Group Members
Group Class
MindFusion.Diagramming.Wpf Namespace
AttachToLinkSegment Method