Resizes the document scrollable area so that it fits all diagram items.
Namespace: MindFusion.Diagramming
Package: 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.
NetDiagram Programmer's Guide | © 2023 MindFusion |