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!

Example in answer to the question Click How to create a document with unequal page sizes?

unequalpages

changemargin

Results