Decrypt
Document properties, Security and Signatures
Description
This function attempts to remove the encryption setting from the selected document using the password provided when originally opening the document.
This function will succeed even if the user password was used (including an valid blank password) rather than the master password. Developers are advised that they should respect the security wishes of the document's author.
Syntax
Delphi
function TPDFlib.Decrypt: Integer;ActiveX
Function PDFlib::Decrypt As LongDLL
int DLDecrypt(int InstanceID);Return values
| 0 | The document could not be decrypted |
|---|---|
| 1 | The document was decrypted successfully |