Click or drag to resize

ZoomPanelSetViewbox Method

Sets the viewbox relative to the ZoomPanel content.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public void SetViewbox(
	Rect newViewbox
)

Parameters

newViewbox
Type: System.WindowsRect
New Viewbox value as Rect
Remarks

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

Using this method is the same as setting the Viewbox property.

See Also