Search
Diagram.resizeToFitItems Method (float, boolean)
See Also
 

Resizes the document area so that it fits exactly the diagram items.

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

 Syntax

Java  Copy Code

public void resizeToFitItems (
    float margins,
    boolean onlyVisible
)

 Parameters

margins

A float value specifying how much space to leave between the items and the document borders.

onlyVisible

true to include only visible items in the new document size, otherwise false.

 See Also