Creating PDF Documents with ASP.NET and iTextSharp

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
The http://www.webopedia.com/TERM/P/PDF.html Portable Document Format (PDF) is a popular file format for documents. Due to their ubiquity and layout
capabilities, its not uncommon for a websites to use PDF technology. For example, an eCommerce store may offer a "printable receipt" option that, when selected,
displays a PDF file within the browser. Last weeks article, http://www.4guysfromrolla.com/articles/030211-1.aspx Filling in PDF Forms with ASP.NET and
iTextSharp , looked at how to work with a special kind of PDF document, namely one that has one or more <i>fields</i> defined. A PDF document can contain various types
of user interface elements, which are referred to as fields. For instance, there is a text field, a checkbox field, a combobox field, and more. Typically, the person
viewing the PDF on her computer interacts with the documents fields; however, it is possible to enumerate and fill a PDFs fields programmatically, as we saw in last
weeks article.

This article continues our investigation into http://sourceforge.net/projects/itextsharp/ iTextSharp , a .NET open source
library for PDF generation, showing how to use iTextSharp to create PDF documents from scratch. We start with an example of how to programmatically define and piece
together paragraphs, tables, and images into a single PDF file. Following that, we explore how to use iTextSharps built-in capabilities to convert HTML into PDF. Read
on to learn more!

http://www.4guysfromrolla.com/articles/030911-1.aspx" class="readmore Read More >

View the full article
 
Back
Top