Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 7:22am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
Have a look at this article:
Programmatically Convert Documents to PDFs the Easy Way[^]
  Permalink  
Comments
Marcus Kramer at 5-Nov-12 12:41pm
   
+5. This will work well if the OP doesn't mind using a printer driver for this purpose.
Maciej Los at 5-Nov-12 13:52pm
   
Agree, +5!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
Maciej Los at 5-Nov-12 13:53pm
   
Interesting links, +5!
ridoy at 5-Nov-12 13:55pm
   
Thanks Maciej..:)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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  
v2
Comments
Sergey Alexandrovich Kryukov at 5-Nov-12 14:52pm
   
Sure, a 5. I would also provide this link:
http://itextpdf.com/.
 
It's Java, but the documentation is mostly there.
--SA
Maciej Los at 5-Nov-12 15:02pm
   
Thank you, Sergey ;)
 
And thank you for sharing a link.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

Using Microsoft.Office.Interop.Excel to convert XLS, XLSX into PDF or XPS.
http://excelconverter.codeplex.com/[^]
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 7

Hi Smily so
We are looking opensource to create pdf file from excel file. Dont do marketing with spire.
Thanks
Karthik
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 8

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  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 370
1 OriginalGriff 195
2 Zoltán Zörgő 124
3 Dave Kreskowiak 120
4 DamithSL 115
0 OriginalGriff 7,610
1 DamithSL 5,559
2 Sergey Alexandrovich Kryukov 5,324
3 Maciej Los 4,961
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100