Click or drag to resize

ZoomPanelSetZoom Method (Point)

Sets the zoom area to centerPosition parameter (in the current CenterPositionUnits) and the currently set ZoomFactor. If IsAnimated property is true, the zoom area change is animated.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public void SetZoom(
	Point centerPosition
)

Parameters

centerPosition
Type: System.WindowsPoint
center position (in the current CenterPositionUnits)
Remarks

Sets the zoom area to the currently set CenterPosition and the zoomFactor parameter.

If the IsAnimated property is true, the viewbox change is animated. To always make immediate zoom area change use SetZoomNow(Point) method.

See Also