Search
ContainerNode.UpdateBounds Method (Boolean)
See Also
 





Updates the container bounds to fit its contents.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public void UpdateBounds (
    bool includeLinks
)

Visual Basic  Copy Code

Public Sub UpdateBounds( _
    includeLinks As Boolean _
)

 Parameters

includeLinks
true to include the area occupied by links between contained nodes; otherwise, false.

 Remarks

This methods calculates the union of the bounding rectangles of all child nodes, and optionally links between them, and sets it as a new Bounds value.

 See Also