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

TdxRichEditControlEncryptDocument Class

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

Declaration

TdxRichEditControlEncryptDocument = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlEncryptDocument action object invokes the Encrypt the contents of this file dialog that prompts an end-user to assign an encryption password to a document and confirm the entry:

The same dialog can be used to either modify or remove an existing encryption password. To remove the password, an end-user can invoke the Encrypt the contents of this file dialog, erase the password’s characters in the Enter new password (optional) field and click the OK button.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlEncryptDocument action object, use the sdxRichEditCommandEncryptDocumentMenuCaption and sdxRichEditCommandEncryptDocumentDescription resource strings, respectively.

See Also