Skip to main content
A newer version of this page is available. .

TdxRichEditControlSaveDocument Class

An action object that corresponds to the SaveDocument command provided by the Rich Edit control.

Declaration

TdxRichEditControlSaveDocument = class(
    TdxRichEditControlAction
)

Remarks

When a user executes the SaveDocument command, the TdxRichEditControlLoadDocument action object applies user changes to an existing document file or invokes the Save As dialog for a new document. A user can save a document file if the Rich Edit control’s Options.Behavior.Save property is set to Default or Enabled.

Use the sdxRichEditCommandSaveDocumentMenuCaption and sdxRichEditCommandSaveDocumentDescription resource strings to localize captions and hints of UI elements linked to a TdxRichEditControlSaveDocument action object.

Note

The Rich Edit control has built-in support only for the plain text and RTF document formats to avoid excessive dependencies. Refer to the following topic for information on how to enable the DOC, DOCX, and HTML formats: Rich Edit Control: Document Management.

See Also