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