Skip to main content

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:

VCL Rich Edit Control: An Encrypt Document Example

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.

See Also