Back to Devexpress

TcxImageZoomingOptions Class

vcl-cximage-598445a5.md

latest2.6 KB
Original Source

TcxImageZoomingOptions Class

Stores zoom settings in an image editor.

Declaration

delphi
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.

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.

Direct TcxImageZoomingOptions Class Reference

The TcxCustomImage.ZoomingOptions property references a TcxImageZoomingOptions object.

Inheritance

TObject TPersistent TcxImageZoomingOptions

See Also

TcxImageAnimationOptions Class

TcxImageProperties Class

TcxImageZoomingOptions Members

cxImage Unit