Returns the smallest rectangle that bounds all diagram items.
Namespace: MindFusion.Diagramming
File: Diagram.js
SyntaxJavaScript
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.
See Also