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)

public:
void ZoomToFit(
	RectangleD viewRectangle
)

Parameters

viewRectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

The rectangle of the view in world units relative to Diagram's top-left.

Return to top
Show: