IdxRichEditDocument.HasEncryptionPassword Method
In This Article
Identifies if the opened document has an assigned encryption password.
#Declaration
Delphi
function HasEncryptionPassword: Boolean;
#Returns
Type | Description |
---|---|
Boolean | True if the document has an assigned encryption password; otherwise, False. |
#Remarks
Only Office OpenXML (DOCX) file format supports document file encryption. If a user saves the document in another format, the Rich Edit control displays the following dialog:
Note
Call a Rich Edit component’s Set
Refer to the following topics for information on how to manage encrypted documents:
See Also