TdxSavePictureDialog Class
A “Save As” dialog component for image files.
Declaration
TdxSavePictureDialog = class(
TdxSaveFileDialog
)
Remarks
This component displays the Save As dialog for image files and supports look & feel settings common to all DevExpress VCL controls. These settings allow you to keep the application’s appearance consistent for all UI elements, including shell dialogs.
You can call the component’s Execute method to invoke the Save As dialog. This dialog allows a user to select and save image files. When a user clicks the Save button, the selected file name is saved to the component’s FileName property and the dialog is closed.
The Save As dialog can display a preview of the selected file at the right border. You can use the component’s OptionsPreview property to customize the dialog’s preview settings.
The TdxfrmSaveFileDialog class defines the default Save As dialog form. Refer to the class description for information on available UI elements and how to replace the default dialog form with a custom implementation.
The TdxSavePictureDialog
class members allow you to do the following:
Invoke the Save As dialog (Execute).
Specify filter masks for image files (Filter and FilterIndex).
Customize preview settings (OptionsPreview).
Identify an image file selected in the dialog (FileName).
Set the dialog’s initial directory (InitialDir).
Specify the Save As dialog’s appearance and behavior settings (Options, OptionsEx, and LookAndFeel).
Note
All DevExpress controls with built-in Windows shell navigation functionality (such as Spreadsheet and Rich Edit controls) use skinnable shell dialogs. If you prefer standard system dialogs, set the dxUseStandardShellDialogs global constant to True
.