loadStream
Load a PDF file from an OLE IStream object.
loadStream([in] IUnknown *streamObj)
This function loads a PDF file from an OLE IStream object. It must be
called before any of the other functions that access the PDF file.
The loadStream
function throws
an error if the PDF file cannot be
opened.
IMPORTANT: The PDF stream must not be freed or modified until
after closeFile
is called.
VB:
Dim stream As IStream
...
pdf.loadStream(stream)