DiagramClientView.ZoomAtViewCenter Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Sub ZoomAtViewCenter ( _
newZoomFactor As Single _
)
'Usage
Dim instance As DiagramClientView
Dim newZoomFactor As Single
instance.ZoomAtViewCenter(newZoomFactor)
public void ZoomAtViewCenter(
float newZoomFactor
)
public:
void ZoomAtViewCenter(
float newZoomFactor
)
public function ZoomAtViewCenter(
newZoomFactor : float
)
Parameters
- newZoomFactor
Type: System.Single
.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.