ASP.NET Pack Programmer's Guide
Diagram.zoomToRect Method
See Also
 





Zooms and scrolls the view to fit the specified document rectangle in the Diagram's visible area.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function zoomToRect (rect)

 Parameters

rect

A Rect instance specifying the viewport position and size.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
scrollTo Method
zoomToFit Method