Search
ContainerNode.ResizeToFitChildren Method
See Also
 





Resizes the container making it big enough to contain its child nodes.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void ResizeToFitChildren (
    bool allowShrink,
    SizeF margins
)

Visual Basic  Copy Code

Public Sub ResizeToFitChildren( _
    allowShrink As Boolean, _
    margins As SizeF _
)

 Parameters

allowShrink

true to allow reducing container's size, or false otherwise.

margins

A SizeF specifying size of margin space left around container's child items.

 See Also