How to display pdf document in WebBrowser Control in windows app?

Jan 2 2009 12:46 PM

Good Morning,

I am developing a windows app, where in i am getting the byte array of a pdf document.

I want to display it in the web browser control provided by .Net framework.

Right now i am taking the byte array into memory stream and passing it to the DocumentStream property of WebBrowser control. the control treats it as a html and displays some funky characters !

Can any one help me how to make it work or any alternate suggestions

Thanks in advance


Answers (1)