Search
DiagramNode.AttachTo Method (DiagramNode, AttachToNode)
See Also
 





Attaches this node to the specified node using the specified attaching type.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void AttachTo (
    DiagramNode node,
    AttachToNode attType
)

Visual Basic  Copy Code

Public Sub AttachTo( _
    node As DiagramNode, _
    attType As AttachToNode _
)

 Parameters

node
A reference to the node to whose corner to attach this node.
attType
A member of the AttachToNode enumeration specifying to which corner of a node to attach this node.

 Remarks

This method attaches the current node to the corner of another node. If there isn't a Group instance already associated with the master item, one is created automatically by this method. The group is then accessible by the master's SubordinateGroup property, or this node's MasterGroup property.

The node is attached by calling the AttachToCorner method of Group. The attached node then maintains its original offset from another node's corner point.

 See Also