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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- viewRectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The rectangle of the view in world units relative to Diagram's top-left.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.