DiagramView.ZoomToFit Method
Zooms in or out to show the entire diagram as large as possible.
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
public void ZoomToFit()
public:
void ZoomToFit()
member ZoomToFit : unit -> unit
public function ZoomToFit()
.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.