iText for .Net

Book Review: iText in Action Second Edition

My initial impression: I find the book useful in understand how to use iText.  For example, there are at least 4 different ways to copy a page from PDF: PdfWriter, PdfStamper, PdfCopy, PdfSmartCopy.

 

iTextSharp DLL

I downloaded itextsharp-all-5.3.5.zip and found 3 DLLs.  At first, I was at a loss of what they were meant for.  I hope the following info would help others decide when to use them: 

  • itextsharp.dll – this is the core dll.  If you use iText, you need it.
  • itextsharp.pdfa.dll – this is for PDFA, a variant of PDF that is specialized for long term archiving.  For example, font embedding is used over font linking.
  • itextsharp.xtra.dll – this is needed for hyphenation or asian languages.  Hyphenation rules determine whether to split a long word at the end of a line (e.g. elephant vs e-lephant).

Limitation

iText is not designed to render PDF files.  For example, you cannot use iText to generate thumbnail images from each page within a PDF.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s