vcl-dxspreadsheetcore-dot-tdxspreadsheetformatsrepository-606fd5f9.md
Returns the string containing save dialog masks (with descriptions) for all registered spreadsheet document formats.
function GetSaveDialogFilter: string;
| Type | Description |
|---|---|
| string |
The active save dialog filter.
|
Call this function to obtain the masks of all file formats to which the Spreadsheet/Report Designer control can export the opened spreadsheet document. The GetSaveDialogFilter function result always consists of:
sdxFileDialogAllSupported resource string followed by the list of file name extension masks corresponding to all supported formats.To restrict the list of files visible in the Open dialog to only the supported spreadsheet document formats and populate the dialog’s dropdown filter, assign the GetSaveDialogFilter function result to the TSaveDialog component’s Filter property:
Note that certain spreadsheet document format implementations do not support both import and export operations. Call the GetOpenDialogFilter function to obtain the masks of all file formats that the Spreadsheet and Report Designer controls can load.
See Also
TdxSpreadSheetFormatsRepository Class