Search
DiagramView.zoomToRect Method
See Also
 






Zooms and scrolls the view to fit the specified Diagram region in component's area.

Namespace: MindFusion.Diagramming
File: DiagramView.js

 Syntax

JavaScript  Copy Code

function zoomToRect (rect)

 Parameters

rect

Rect. A Rect instance specifying desired viewport position and size.

 See Also