openInputStream
Open an input PDF file from an OLE IStream object.
openInputStream([in] IUnknown *streamObj, [out, retval] LONG *inputHandle)
This function opens an input PDF file,
pdfFileName
, from
an OLE IStream object, streamObj
, and constructs a
handle.
The openInputStream
function throws an error if the PDF
file cannot be opened.
IMPORTANT: The PDF stream must not be destroyed or modified
until after closeInput
is called.
VB6:
Dim in as Long
Dim stream As IStream
...
in = pdf.openInputStream stream
VB.net:
Dim in as Long
Dim stream As IStream
...
in = pdf.openInputStream(stream)