Search
Group.AttachToLinkSegment Method
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool AttachToLinkSegment (
    DiagramNode node,
    int segment
)

Visual Basic  Copy Code

Public Function AttachToLinkSegment( _
    node As DiagramNode, _
    segment As Integer _
) As Boolean

 Parameters

node

The DiagramNode to be attached.

segment
The link segment to which the node will be attached.

 Return Value

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

 Remarks

Call this method when the main item of the group is a link. When the specified link segment changes its position, the position of the attached node is also changed, so their mutual distance and orientation are preserved.

 See Also