iText pdf library
Website search


How to shrink pages in an existing PDF?

I am using PdfWriter, PdfImportedPage and the addTemplate() method to shrink pages.
However, when I do so, I lose the rotation of the pages and I lose all interactive features.
Is there another way I can shrink pages?

How to prevent the resizing of pages in PDF?

I create a PDF where I define absolute measurements. However, when I print this PDF, the measurements aren't correct. I want to have a PDF file that contains no differences between the actual size vs "fit to page" when printing.

Still have questions? 

We're happy to answer your questions. Reach out to us and we'll get back to you shortly.

Contact us
Stay updated

Join 11,000+ subscribers and become an iText PDF expert by staying up to date with our new products, updates, tips, technical solutions and happenings.

Subscribe Now