Returns the smallest rectangle that bounds all diagram items.
Namespace: MindFusion.Diagramming
File: 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.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |