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 (
    Rect newRect,
    bool updateChildren,
    bool updateLinks
)

Visual Basic  Copy Code

Public Sub SetBounds( _
    newRect As Rect, _
    updateChildren As Boolean, _
    updateLinks As Boolean _
)

 Parameters

newRect

A Rect instance specifying the new location and size of the node.

updateChildren

true to update the position of child nodes, otherwise false.

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.

 See Also