Click or drag to resize

ZoomPanelResetToLimits Method

Resets the zoom and translation to show the content of ZoomPanel based on the ViewboxLimits. If Viewbox is not limited (IsViewboxLimited == false), the method is the same as Reset method. The method also resets the RotationAngle to 0.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public void ResetToLimits()
Remarks

If the IsAnimated property is true, the reset is animated. To always make immediate reset use ResetToLimitsNow method.

To reset the zoom and translation to show the whole content of ZoomPanel (Viewbox="0 0 1 1") use Reset method.

See Also