Legacy notice!

iText 5 is the previous major version of iText’s leading PDF SDK. iText 5 is EOL, and is no longer developed, although we still provide support and security fixes. Switch your project to iText 8, our latest version which supports the latest PDF standards and technologies.
Check related iText 8 content!

These examples were written in the context of Chapter 1 of the book "iText in Action - Second Edition".

helloworld

helloworldnarrow

helloworldmaximum

helloworldletter

helloworldlandscape1

helloworldlandscape2

helloworldmirroredmargins

helloworldmirroredmarginstop

helloworldmemory

helloworldversion_1_7

helloworlddirect

helloworldcolumn

hellozip