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, and displays its first page.

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:
viewer.loadFileWithPassword "c:/test/file.pdf", "secret"
loadFile
loadStream
loadStreamWithPassword
loadURL
loadURLWithPassword
closeFile