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

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 ... viewer.loadStream(stream)
loadFile
loadFileWithPassword
loadStreamWithPassword
loadURL
loadURLWithPassword
closeFile