Search
DiagramNode.SetBounds Method
See Also
 





Sets the location and size of this node.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void SetBounds (
    RectangleF rect,
    bool updateGroups,
    bool updateLinks
)

Visual Basic  Copy Code

Public Sub SetBounds( _
    rect As RectangleF, _
    updateGroups As Boolean, _
    updateLinks As Boolean _
)

 Parameters

rect
A RectangleF specifying the node position.
updateGroups

Specifies whether the position of child nodes attached to this one should be updated too.

updateLinks

Specifies whether the position of links connected to this node should be updated too.

 Remarks

This method lets you set the position of a node without affecting items related to it, such as its incoming and outgoing links, or nodes set as its children using AttachTo. Assigning to the Bounds property or calling the Move and Resize methods always updates the related items.

 See Also