Returns the smallest rectangle that bounds all diagram items.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function getContentBounds ([onlyVisible, [repaintBounds]]) |
Boolean. Specifies whether only visible items should be considered.
Boolean. Specifies whether to consider the items' repaint bounds.
Rect. A Rect instance specifying the smallest rectangle that bounds all diagram items.
NetDiagram Programmer's Guide | © 2023 MindFusion |