Search
Diagram.ZoomToRect Method
See Also
 






Zooms and scrolls the view to fit the specified document rectangle in the Diagram's visible area.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void ZoomToRect (
    Rect rect
)

Visual Basic  Copy Code

Public Sub ZoomToRect( _
    rect As Rect _
)

 Parameters

rect

A Rect instance specifying the viewport position and size.

 See Also