Share via


DiagramClientView.ZoomToFit Method (RectangleD)

Zooms to show the portion of the diagram given by the specified rectangle.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Sub ZoomToFit ( _
    viewRectangle As RectangleD _
)
public void ZoomToFit(
    RectangleD viewRectangle
)
public:
void ZoomToFit(
    RectangleD viewRectangle
)
member ZoomToFit : 
        viewRectangle:RectangleD -> unit
public function ZoomToFit(
    viewRectangle : RectangleD
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

ZoomToFit Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace