How to Create a PDF file in ASP Net MVC using iTextSharp DLL

added by DotNetKicks
10/25/2017 2:05:33 PM

1 Kicks, 372 Views

If you have to Create a PDF file you can use iTextSharp DLL. It is a free DLL which you can install from NuGet. Next include the below 2 namespaces in your Controller: using iTextSharp.text; using iTextSharp.text.pdf; Creating iTextSharp's Document & Writer When you Create a Pdf file, the first step is to create a Document and a PdfWriter.