共用方式為


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

'宣告
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