The Book

iText in Action, Second Edition is due out sometime in Fall 2010. Get the Java source code for the examples.

Webified iTextSharp Examples

Hopefully a chapter or two will be added every month. The examples are converted to C# from the Java book examples and developed with ASP.NET 3.5, so your mileage may vary. The source code includes all the classes needed to run the examples, as well as the HTTP Handler to stream the PDF to the web client. However, you DO need to download the .dll from the following web sites and copy them to ~/bin:

  1. iTextSharp
  2. System.Data.SQLite (database file included with source code)

Get the zipped web project from Google docs, last updated Tuesday, May 25, 2010 09:00 GMT. This page is not included with the source code, that's an exercise left for the reader.

Trying to be a good citizen on my shared hosting provider, so some examples are disabled. For example, much of Chapter 10, which does image processing and Chapter 11, which accesses font files on the OS.

Chapter Source Code

Intro_1_2: Filmfestival POJOs

Chapter01: Introduction

Chapter02: Composing a document using iText's Basic Building Blocks

Chapter03: Adding content at absolute positions

Chapter04: Organizing content in tables

Chapter05: Completing your layout using page and table events

Chapter06: Working with existing PDFs

Chapter07: Making documents interactive

Chapter08: Filling out forms

Chapter09: Integrate iText in your web applications

Chapter10: Brighten up your PDF with images and color

Chapter11: Choose the right font