Click or drag to resize

ZoomPanelSetZoomNow Method (Rect, Double)

Sets the zoom area to the new viewbox. 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 SetZoomNow(
	Rect viewbox,
	double rotationAngle
)

Parameters

viewbox
Type: System.WindowsRect
viewbox
rotationAngle
Type: SystemDouble
new rotation angle
Remarks

Sets the zoom area to the new viewbox.

new rotation angle

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

See Also