ImageEn, unit iexRichEdit |
|
TIERichEdit.PromptToSave
Declaration
function PromptToSave(Caption: string = ''; AllowExport: Boolean = True): Boolean;
Description
Prompt the user to specify a filename and save the content.
Caption specifies the title text for the Save dialog. If unspecified it defaults to a localized version of "Save File".
If AllowExport is true, saving to Word and PDF is permitted (requires
CanImportExport = True).
Result is true if the save succeeds.
// Prompt user to save the document
IERichEdit1.PromptToSave();
See Also
◼SaveToFile
◼OpenFromFile
◼PromptToOpen
◼ExportToWord
◼Filename