DiagramClientView.ZoomToFit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ZoomToFit() |
Zooms in or out to show the entire diagram as large as possible. |
ZoomToFit(RectangleD) |
Zooms to show the portion of the diagram given by the specified rectangle. |
ZoomToFit()
Zooms in or out to show the entire diagram as large as possible.
public:
void ZoomToFit();
public void ZoomToFit ();
member this.ZoomToFit : unit -> unit
Public Sub ZoomToFit ()
Applies to
ZoomToFit(RectangleD)
Zooms to show the portion of the diagram given by the specified rectangle.
public:
void ZoomToFit(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD viewRectangle);
public void ZoomToFit (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD viewRectangle);
member this.ZoomToFit : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Public Sub ZoomToFit (viewRectangle As RectangleD)
Parameters
- viewRectangle
- RectangleD
The rectangle of the view in world units relative to Diagram's top-left.