Search
Group.AttachToCorner Method
See Also
 





Attaches a node to the specified corner of the main node.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool AttachToCorner (
    DiagramNode node,
    int corner
)

Visual Basic  Copy Code

Public Function AttachToCorner( _
    node As DiagramNode, _
    corner As Integer _
) As Boolean

 Parameters

node
The DiagramNode to be attached.
corner
The zero-based index of the main node's corner.

 Return Value

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

 Remarks

You can use this method if the main item of the group is a node. When the specified corner position of the main node's bounding rectangle is changed, the position of the attached node is also changed and the distance between them is preserved.

 See Also