loadFile

Load a PDF file from disk.
loadFile([in] BSTR pdfFileName)
This function loads a PDF file, pdfFileName, from disk. It must be called before any of the functions that access a PDF file.

The loadFile 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.

VB:
pdf.loadFile("c:/test/file.pdf")
loadFileWithPassword
loadStream
loadStreamWithPassword
closeFile