Zooms and scrolls the view to fit the specified document rectangle in the view's client area.
Namespace: MindFusion.Diagramming.Blazor
Assembly: MindFusion.Diagramming.Blazor
SyntaxC#
Copy Code
|
|---|
public void ZoomToRect ( |
Visual Basic
Copy Code
|
|---|
Public Sub ZoomToRect( _ |
A Microsoft.Maui.Graphics.Rect specifying the desired viewport's position and size.
true to center the rectangle in viewport, or false to align it to top-left corner.
See Also