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

getcontentstream

pathconstructionandpainting

graphicsstateoperators

transformationmatrix1

transformationmatrix2

transformationmatrix3

textstateoperators

textmethods

pearexample

peartopdf

directorcharts

graphics2dfonts

textexample1

text1topdf1

text1topdf2

textexample2

text2topdf1

text2topdf2

text2topdf3

textexample3

text3topdf

textexample4

text4topdf