vcl-cximage-598445a5.md
Stores zoom settings in an image editor.
TcxImageZoomingOptions = class(
TPersistent
)
Zoom operations are available in an image editor if its Properties.FitMode property is set to ifmNormal. Image editors allow users to rotate the mouse wheel while holding the Ctrl key or use a zoom track bar to zoom the displayed image in or out.
The list below outlines key members of the TcxImageZoomingOptions class. These members allow you to zoom the displayed image in code and customize zoom-related settings.
AssignCopies zoom settings between image editors.MinZoom | MaxZoomSpecify minimum and maximum zoom percentages.OnChangedAllows you to track zoom level and setting changes.ShowZoomTrackBar
Allows you to display a zoom track bar at the bottom editor border when the mouse pointer is within the image editor area.
Note
If zoom operations are available and the zoom track bar is hidden, users can rotate the mouse wheel while holding the Ctrl key to zoom the displayed image in or out.
ZoomPercentSpecifies the current zoom percentage. You can use this property to zoom the displayed image in or out in code if the editor’s Properties.FitMode property is set to ifmNormal.
The TcxCustomImage.ZoomingOptions property references a TcxImageZoomingOptions object.
TObject TPersistent TcxImageZoomingOptions
See Also
TcxImageAnimationOptions Class