Zooms and scrolls the view to fit the specified document rectangle in the viewport.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public void ZoomToRect ( |
Visual Basic Copy Code |
---|
Public Sub ZoomToRect( _ |
The scroll position and zoom factor of the DiagramView are set so that specified rectangular area of the diagram is entirely visible in the viewport.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |