ZoomPanelSetZoom Method (Point, ZoomPanelCenterPositionUnitsType, Double, Double) |
Namespace: Ab2d.Controls
public void SetZoom( Point centerPosition, ZoomPanelCenterPositionUnitsType units, double zoomFactor, double rotationAngle )
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 viewbox change use SetZoomNow(Point, ZoomPanelCenterPositionUnitsType, Double) method.