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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace