Click or drag to resize

ZoomPanelSetZoomNow Method (Point, ZoomPanelCenterPositionUnitsType, Double)

Sets the zoom area based on centerPosition, units and zoomFactor parameters. The zoom area is changed immediately regardless of the IsAnimated property.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public void SetZoomNow(
	Point centerPosition,
	ZoomPanelCenterPositionUnitsType units,
	double zoomFactor
)

Parameters

centerPosition
Type: System.WindowsPoint
center position
units
Type: Ab2d.ControlsZoomPanelCenterPositionUnitsType
units of the center position
zoomFactor
Type: SystemDouble
zoom factor (1 = no zoom; >1 = zoom in; <1 = zoom out)
Remarks

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

See Also