Skip to main content
Skip table of contents

Changing page sizes of existing PDFs

This example was written in answer to the question Click How to extend the page size of a PDF to add a watermark?

addextramargin

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/develop/src/main/java/com/itextpdf/samples/sandbox/stamper/AddExtraMargin.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/develop/itext/itext.samples/itext/samples/sandbox/stamper/AddExtraMargin.cs##

Resources

primes.pdf

Results

cmp_add_extra_margin.pdf

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.