다음을 통해 공유


DiagramClientView.ZoomAtViewCenter Method

Zooms in or out around the center point of the current view.

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 ZoomAtViewCenter ( _
    newZoomFactor As Single _
)
public void ZoomAtViewCenter(
    float newZoomFactor
)
public:
void ZoomAtViewCenter(
    float newZoomFactor
)
member ZoomAtViewCenter : 
        newZoomFactor:float32 -> unit 
public function ZoomAtViewCenter(
    newZoomFactor : float
)

Parameters

  • newZoomFactor
    Type: System.Single
    Scaling factor (A value of 1 is considered 100%)

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace