MindFusion.Java Package Programmer's Guide
ContainerNode.setAutoGrow Method
See Also
 






Sets a value indicating whether the container should grow in size when nodes are added to it.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setAutoGrow (
    boolean value
)

 Parameters

value

true to grow container's size automatically, or false otherwise.

 Remarks

When AutoGrow is enabled, the container size will grow to include newly added nodes when they wouldn't fit in its current size. The new Bounds of the container is set to the union of bounding rectangles of all child nodes inflated by Margin.

 See Also

ContainerNode Members
ContainerNode Class
com.mindfusion.diagramming Namespace
setAutoShrink Method
resizeToFitChildren Method