Resizes the document scrollable area so that it fits all diagram items.
Namespace: MindFusion.Diagramming
File: Diagram.js
SyntaxJavaScript
Copy Code
|
|---|
function resizeToFitItems ([margin, [onlyVisible, [repaintBounds]]]) |
Boolean. Specifies whether only visible items should be considered.
Boolean. Specifies whether to consider the items' repaint bounds.
See Also