developer2012
asked on
how to read binary image from database and display it as PDF file?
Hi Everyone,
I have a requirement in which the pdf file are stored as binary image. When the user click on view I am required to display the PDF file.
How can I convert a binaryi mage into PDF file?
It is WPf browser application and it does not have htttp.context method?
Any ideas or help or example are much appreciated and thank you very much!
I have a requirement in which the pdf file are stored as binary image. When the user click on view I am required to display the PDF file.
How can I convert a binaryi mage into PDF file?
It is WPf browser application and it does not have htttp.context method?
Any ideas or help or example are much appreciated and thank you very much!
ASKER
Thanks. But it is not a asp.net application
>How can I convert a binaryi mage into PDF file?
If by binary image you mean byte array, write it to a file and then use Process.start to open it
IO.File.WriteAllBytes("pat h", bytearray)
If by binary image you mean byte array, write it to a file and then use Process.start to open it
IO.File.WriteAllBytes("pat
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@ code cruiser . Yes it is bytearray. How do I write to a file?
Can you please give me an example?
Thanks
Can you please give me an example?
Thanks
I gave you an example: http:#a38422931
Response.BinaryWrite(your-
http://forums.asp.net/t/1060151.aspx/1