Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxImageZoomingOptions.ZoomPercent Property

Specifies the current zoom percentage for the image editor.

#Declaration

Delphi
property ZoomPercent: Integer read; write; default 100;

#Property Value

Type Default Description
Integer 100

The current zoom percentage in the image editor.

The property value ranges between MinZoom and MaxZoom property values.

#Remarks

You can use the ZoomPercent property to zoom the displayed image in or out if zoom operations are available (the editor’s Properties.FitMode property is set to ifmNormal). If the ShowZoomTrackBar property is set to True, the editor displays a zoom track bar when the mouse pointer is within the editor’s boundaries.

VCL Editors Library: Zoom Operations in an Image Editor

Users can also rotate the mouse wheel while holding the Ctrl key to zoom the displayed image in or out regardless of the zoom track bar’s visibility. If the Properties.Center property is set to False, users can also pan the displayed image.

#Default Value

The ZoomPercent property’s default value is 100.

See Also