DiagramClientView.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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Sub ZoomToFit
public void ZoomToFit()
public:
void ZoomToFit()
member ZoomToFit : unit -> unit
public function ZoomToFit()

.NET Framework Security

See Also

Reference

DiagramClientView Class

ZoomToFit Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace