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( _ |
A RectangleF instance specifying the desired viewport's position and size.
true to center the rectangle in viewport, or false to align it to top-left corner.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |