Decrypt
Document properties, Security and Signatures
Version history
This function was renamed in Quick PDF Library version 7.11.
The function name in earlier versions was Unencrypt.
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 TQuickPDF0813.Decrypt: Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::Decrypt As Long
DLL
int QuickPDFDecrypt(int InstanceID)
Return values
| 0 | The document could not be decrypted |
| 1 | The document was decrypted successfully |