Convert .doc, .xlsx, Jpg, Png to Pdf

Convert .doc, .xlsx, Jpg, Png to Pdf

Convert .doc, .xlsx, Jpg, Png to Pdf

Topic:

ASP.NET

  1. tortuegenie wrote: 02/05/2012 at 1:04pm

Convert .doc, .xlsx, Jpg, Png to Pdf convert .doc, .xlsx, jpg, png to pdf

  1. Hello,
    I’m looking for a solution to convert office documents and images in pdf to C#.
  2. Any ideas?
  3. Zeckard wrote: 03/05/2012 at 11:42 am.

Convert .doc, .xlsx, Jpg, Png to Pdf

  1. Good morning,
  2. I think that sending the document to a virtual printer like PDFCreator may still be the simplest solution. I don’t know of any other free tools that do.
  3. However, this requires PDFCreator to be installed on the client workstation.
  4. gcorbineau wrote: 03/05/2012 at 11:44am

Convert .doc, .xlsx, Jpg, Png to Pdf

  1. I’m also thinking about PDFCreator, but you can also look at iTextSharp
  2. meziantou wrote: 03/05/2012 at 11:53am

Convert .doc, .xlsx, Jpg, Png to Pdf

  1. If word (at least 2007) is installed on the computer, you can convert the soft office documents (doc, docx, xls, …) into pdf. Just open it, save as and choose the pdf format. This can be automated http://stackoverflow.com/questions/6…ogrammatically
  2. For images it’s even simpler: http://www.mikesdotnetting.com/Artic…ng-with-images
  3. tortuegenie wrote: 04/05/2012 at 12:16pm

Convert .doc, .xlsx, Jpg, Png to Pdf

  1. Thank you for your answers.
  2. The web application being installed on a server I’m not sure that installing Office is really possible.
    It would be easier to install PDFCreator on the server.
  3. I’ll check iTextSharp.
  4. The purpose of the application is to save documents but only in pdf format knowing that you can upload .doc, .xlsx …. that’s why I need to do this in code behind my app.
  5. meziantou wrote: 04/05/2012 at 12:23pm

Convert .doc, .xlsx, Jpg, Png to Pdf

  1. I don’t think that Pdf Creator can solve your problem (at least for Office files).
    This is a virtual printer, so you need to be able to open the file before you can print it. If you don’t have an office, what do you open it with?
  2. Installing Office on a server does not pose a problem except that you need to install more updates.
  3. tortuegenie wrote: 04/05/2012 at 12:37pm

Convert .doc, .xlsx, Jpg, Png to Pdf

  1. If you want I’m more looking for a way to use a library that does what pdfCreator does.
    That means reading a document and then turning it, all in C#.
  2. I think you side with iTextSharp or ABCPdf should be fine.
  3. Only I wanted to know if anyone’s ever done anything like this before…