iText

Adding page numbers to an existing PDF

In this example, we use ColumnText to add page numbers to an existing PDF document.


stamppagexofy

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

##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/stamper/StampPageXofY.cs##

Resources

nameddestinations.pdf

Results

cmp_stamp_page_x_of_y.pdf