Search
DiagramView.ZoomToRect Method (Rect)
See Also
 






Zooms and scrolls the view to fit the specified diagram rectangle in the viewport.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void ZoomToRect (
    Rect contentRect
)

Visual Basic  Copy Code

Public Sub ZoomToRect( _
    contentRect As Rect _
)

 Parameters

contentRect

A Microsoft.Maui.Graphics.Rect specifying the desired viewport's position and size.

 See Also