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 15 of the book "iText in Action - Second Edition".

peekaboo

optionalcontentexample

layermembershipexample1

layermembershipexample2

optionalcontentactionexample

svgtopdf

svglayers

objectdata

readoutloud

structureparser

contentparser

structuredcontent

parsetaggedpdf

parsinghelloworld

mytextrenderlistener

inspectpagecontent

extractpagecontent

extractpagecontentsorted1

extractpagecontentsorted2

extractpagecontentarea

showtextmargins

myimagerenderlistener

extractimages