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