Legacy notice!

iText 5 is the previous major version of iText's leading PDF SDK. iText 5 has been EOL, and is no longer developed. Switch your project to iText 7, integrating the latest developments.
Check related iText 7 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