DiagramClientView::ZoomAtViewCenter Method (Single)

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void ZoomAtViewCenter(
	float newZoomFactor
)

Parameters

newZoomFactor
Type: System::Single

Scaling factor (A value of 1 is considered 100%)

Return to top
Show: