TcxImageZoomingOptions Class
Stores zoom settings in an image editor.
Declaration
TcxImageZoomingOptions = class(
TPersistent
)
Remarks
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.
Main API Members
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.
- Assign
- Copies zoom settings between image editors.
- MinZoom | MaxZoom
- Specify minimum and maximum zoom percentages.
- OnChanged
- Allows 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.
- ZoomPercent
- Specifies 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.
Direct TcxImageZoomingOptions Class Reference
The TcxCustomImage.ZoomingOptions property references a TcxImageZoomingOptions
object.