How to load PDF from Stream

  • Hi,

    I'm trying to load a PDF from a stream (memory stream) which I receive from a WCF service. The stream contains valid data. Saving the stream to hard disk and display the pdf inside the viewer using the "LoadFromFile" method works as aspected.

    But displaying the PDF directly from the stream doesn't work. There is no error message - no more than a grey backround inside the viewer. I've tried to load the stream using the "LoadFromStream" or "AppendFromStream" methods. The "AttachStream" method - which I found in the docs (http://www.wpcubed.com/manuals/wpviewpdf/index.html) - is not supported from the viewer.

    My programming language is VB.NET 3.5 an I use Visual Studio 2008. The version of WPViewPDF must be the newest one (bought yesterday).

    Thank you for your support