Click or drag to resize

ZoomPanelIsZoomPositionPreserved Property

Gets or sets a Boolean that specifies if the position of the point where zooming in or out occurs is preserved. If false than zooming is also centering the zooming point. Default value is true.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public bool IsZoomPositionPreserved { get; set; }

Property Value

Type: Boolean
Remarks

IsZoomPointPreserved property is used when ZoomPanel is used to zoom in or out while in ZoomIn or ZoomOut mode or when mouse wheel is used to zoom.

If IsZoomPointPreserved property is set to false than the position where the zoom in or out occurred is also moved to the center of the ZoomPanel.

By default IsZoomPointPreserved property is set to true. This means that the position where the zoom in or out occurred stays at the same position.

See Also