vcl-cximage-dot-tcxcustomimage.md
Displays the Image Editor dialog.
procedure ShowImageEditor;
Call the ShowImageEditor procedure to display the Image Editor modal dialog that allows users to perform simple image edit operations, such as cropping, rotation, and color adjustment.
A user can click the Edit… item in the editor context menu to display the Image Editor dialog:
The Edit… context menu item is visible only if the pmiEdit flag is present in the Properties.PopupMenuLayout.MenuItems property. The menu item is enabled only if the image editor is not empty.
You can inherit a form class from TdxCustomImageEditorDialog and assign a reference to the created class to the dxImageEditorClass global variable to replace the built-in Image Editor with a custom implementation.
Tip
Inherit a custom form class from the TdxCustomImageEditorDialog class if you need to create a new editor dialog from scratch. If you need only to adjust the built-in Image Editor dialog, use the TdxImageEditorDialog class instead.
See Also
TcxCustomImage.LoadFromFile Procedure
TcxCustomImage.SaveToFile Procedure
TcxCustomImageProperties.PopupMenuLayout Property