Resizes the document scrollable area so that it fits all diagram items.
Namespace: MindFusion.Diagramming
File: Diagram.js
JavaScript 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.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |