Convert Excel To Pdf Using Itextsharp In C
Office to pdf conversion can be performed on a linux or windows server to automate office centric workflows or entirely in the user s client web browser.
Convert excel to pdf using itextsharp in c. Sample c code for using pdftron sdk to convert office documents to pdf including word excel powerpoint and publisher without needing any external dependencies or ms office licenses. Since epplus doesn t support coversion of excel files to pdf hence i m trying to use another free. I am assuming that the byte array in question has been created correctly to be saved as a pdf file. This site is started with intent to serve the asp net community by providing forums question answer site where people can help each other.
The easiest way is to use system io to do this. As a first try for creating the excel files i used the free library epplus with good results. In my research i came to know about itext. This article is about generating pdf documents using c net and the itext library.
Gembox spreadsheet enables you to easily convert an excel file to different file formats in c and vb net for example you can convert excel file to a different spreadsheet format xlsx xls ods csv or html or to pdf xps and image formats. Hi honnikans please try the following convert a pdf file to excel file using itextsharp using c net it might help you. You do not need itextsharp to write a byte array to pdf file. Itext is a library for creating and manipulating pdf files in net and java.
To do this just load an excel file and save it to another file format as in the following example. For my current project i was looking for a free library to create microsoft excel files on a server and converting these excel files to a pdf in c. C tips and tricks 21 extracting text from an image using tesseract ocr library for c csharp duration. Ankpro training 27 969 views.