Skip to main content

How to download itextsharp and include in your project.


Hello friends
Today
I am going to show how you can download itextsharp and include in your project.

ITextSharp is a C# port of iText, an open source Java library for PDF generation and manipulation. It can be used to create PDF documents from scratch, to convert XML to PDF (using the extra XML Worker DLL), to fill out interactive PDF forms, to stamp new content on existing PDF documents, to split and merge existing PDF documents, and much more.



Follow below steps to download and add Itextsharp reference to project.
Step 1: you can download ITextSharp from this website Here 
Step 2: Extract this file you will get a zip file something like this (itextsharp-all)
Step 3: Now add new website or if you want to add it to existing website skip this step
Step 4: Right click on solution and select Add Reference






Step 5: Navigate to location where you have extracted zip file (there might be multiple folder but you need to select dll inside this folder “itextsharp-dll-core “and click ok.




Step 6: Now at page where you want to use this library add couple of using statements to the default ones in your code-behind:
    using iTextSharp.text;
    using iTextSharp.text.pdf;



In next I am going to show how you can create your first PDF using ItextSharp.

Comments

  1. are you mad, where is the full example code?

    ReplyDelete
  2. Thanks a lot men, i had some problems choosing which one I should add

    ReplyDelete

Post a Comment