SetAdvancePassword
Version history
This function was introduced in Quick PDF Library version 7.14.
Description
The objects of certain PDFs are stored in object streams. If such a PDF is also encrypted, the password is needed to access the structure of the PDF.
This function allows you to set the password to use when opening a file using LoadFromFile, LoadFromString, LoadFromStream or LoadFromVariant functions.
If the password is correct, the file will be automatically decrypted.
Syntax
Delphi
function TQuickPDF0726.SetAdvancePassword(const Password: string): Integer;
ActiveX
Function QuickPDF0726.PDFLibrary::SetAdvancePassword(Password As String) As Long
DLL
int QuickPDFSetAdvancePassword(int InstanceID, char * Password)
Parameters
Password | The password to automatically use when opening a PDF |