openInput

Open an input PDF file.
openInput([in] BSTR pdfFileName, [out, retval] LONG *inputHandle)
This function opens an input PDF file, pdfFileName, from disk, and constructs a handle.

The openInput 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 closeInput is called.

VB6:
Dim in as Long in = pdf.openInput "c:/test/file.pdf"
VB.net:
Dim in as Long in = pdf.openInput("c:/test/file.pdf")
openInputWithPassword
closeInput