Re: Convert btye[] to pdf
Paul Brissenden Hemstock <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <1514792121-1232553141-cardhu_decombobulator_blackberry.rim.net-2122710446-@bxe079.bisx.produk.on.blackberry> |
I'm doing this from memory, but assuming a web app, look up writing to the response stream with a content type of octet_stream. HTH ------Original Message------ From: Peter Vertes Sender: Discussion of advanced .NET topics. To: [email protected] ReplyTo: Discussion of advanced .NET topics. Subject: Re: [ADVANCED-DOTNET] Convert btye[] to pdf Sent: 21 Jan 2009 15:47 I did a webpage that did something similar. Basically users were able to upload PDFs to a database via the website and they also had the ability to retrieve them from the database. I stored them in the database as a BLOB (it way MySQL) but before converting it back to a PDF I had to write the stream to the file system and create the .PDF file there. -Pete On Wed, Jan 21, 2009 at 8:51 AM, Hevel, Shawn <[email protected]>wrote: > We have a C# application that receives a byte[] and I'd like to convert > it to a pdf, doing so in memory, and then opening the file in Adobe > Reader? > > > > Has anyone successfully accomplished this or know how to do it? > > > > Thanks, > > > > > > Shawn Hevel, API, AIT > Lead Programmer Analyst > Information Technology Department > South Carolina Farm Bureau Insurance Companies > Phone: (803) 936-4331 > Fax: (803) 936-4629 > Work Email: [email protected] <mailto:[email protected]> > Home Email: [email protected] <mailto:[email protected]> > > > > =================================== > View archives and manage your subscription(s) at > http://peach.ease.lsoft.com/archives > =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives Sent from my BlackBerry® wireless device