Load PDF Document in WebBrowser using DocumentStream
A:
I have looked into this, and it seems that setting the DocumentStream does this:
- Load about:blank
- On the resulting (empty) HTML DOM, call Load, passing the stream
It would appear that the result is that anything supplied in the stream will be interpreted as a HTML document.
I would look into some other solution.
Tor Haugen
2009-09-21 09:42:34
A:
http://www.adobe.com/devnet/pdf/pdf_reference_archive.html Documentation archive http://www.adobe.com/devnet/acrobat/pdfs/pdf_reference_1-7.pdf Their latest PDF Reference. It contains the complete PDF specification for developers
The browser can display pdf files if the client has a plugin for it. But if you want to display it within a page you will need to parse the pdf document and display it correctly.
Jonas B
2009-09-21 09:47:09