Zooms and scrolls the view to fit the specified Diagram region in component's area.
Namespace: MindFusion.Diagramming
File: DiagramView.js
SyntaxJavaScript
Copy Code
|
|---|
function zoomToRect (rect) |
Rect. A Rect instance specifying desired viewport position and size.
See Also