Diagram.autoResize Property
See Also

Gets or sets a value indicating whether the document area should be resized automatically so it fits the diagram contents.

Namespace: MindFusion.Diagramming
Package: Diagram.js


JavaScript  Copy Code

get autoResize() {}
set autoResize(value) {}

 Property Value


A member of the AutoResize enumeration indicating the auto resize method. The default is RightAndDown.


If automatic resizing is enabled, the size of the document scrollable area is updated each time an item is created, deleted or moved by the end-user. To resize the diagram after programmatic changes, call the resizeToFitItems method.

 See Also