Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
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
- 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.