Click here to Skip to main content
Sign Up to vote bad
good
See more: C#ASP.NET
Hi, I have a bytes Array that i parse into a Excel File.
The problem is: How can i parse the excel file to an pdf File.
 
Pleas, if some one have the answer help me.
Posted 5 Nov '12 - 6:22


8 solutions

Hi,
 
Have a look at this article:
Programmatically Convert Documents to PDFs the Easy Way[^]
  Permalink  
Comments
Marcus Kramer - 5 Nov '12 - 12:41
+5. This will work well if the OP doesn't mind using a printer driver for this purpose.
Maciej Los - 5 Nov '12 - 13:52
Agree, +5!
  Permalink  
Comments
Maciej Los - 5 Nov '12 - 13:53
Interesting links, +5!
ridoy - 5 Nov '12 - 13:55
Thanks Maciej..:)
Use iTextSharp[^] free software.
 
This article: Creating PDF documents with iTextSharp[^] might be helpful.
 
BTW: You don't need to save "bytes array" into ms Excel file and then into pdf. You can do it "directly".
 
The other solution is to install MS Excel Addin[^], which allows you to export and save excel files to the PDF format. You can call corresponding method to save workbook as a pdf file via COM[^].
  Permalink  
Comments
Sergey Alexandrovich Kryukov - 5 Nov '12 - 14:52
Sure, a 5. I would also provide this link: http://itextpdf.com/. It's Java, but the documentation is mostly there. --SA
Maciej Los - 5 Nov '12 - 15:02
Thank you, Sergey ;) And thank you for sharing a link.
Using Microsoft.Office.Interop.Excel to convert XLS, XLSX into PDF or XPS.
http://excelconverter.codeplex.com/[^]
  Permalink  
Hi Smily so
We are looking opensource to create pdf file from excel file. Dont do marketing with spire.
Thanks
Karthik
  Permalink  
Hi,
 
You can open the excel file into report viewer and then can export in any format.
 

 
Hope it ll work for you.
 
Thanks.
  Permalink  
Hello,
 
Have a look at this post.
 
It shows detailed steps to convert Excel to PDF with C#.
 
http://janewdaisy.wordpress.com/2012/04/20/how-to-convert-excel-to-pdf-with-cvb-net/[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 498
1 Mahesh Bailwal 332
2 Arun Vasu 269
3 Maciej Los 263
4 Aarti Meswania 205
0 Sergey Alexandrovich Kryukov 9,660
1 OriginalGriff 7,329
2 CPallini 3,968
3 Rohan Leuva 3,339
4 Maciej Los 2,851


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid