loadFileWithPassword

Load a PDF file from disk, with a password.
loadFileWithPassword([in] BSTR pdfFileName, [in] BSTR password)
This function opens a PDF file, pdfFileName, from disk, applying the specified password. This function must be called before any of the functions that access a PDF file.

The loadFileWithPassword function throws an error if the PDF file cannot be opened.

IMPORTANT: The PDF file on disk must not be deleted or modified until after closeFile is called.

VB6:
pdf.loadFileWithPassword "c:/test/file.pdf", "secret"
loadFile
loadStream
loadStreamWithPassword
closeFile