Skip to main content
Skip table of contents

Page events

These questions were answered in the scope of 7.0.x and 7.1.x versions. However, if you find links to our GitHub repo, then they should target the latest version, and you can get access to specific versions by using the Tags functionality.

Interesting repos with examples to browse would be i7js-book & i7js-examples for Java and i7ns-samples for .NET (C#).

Why does my header overlap with my content?

Why is my content overlapping with my footer?

How to add a text to the left and to the right in a header?

Why do I get a StackOverflowException in the OnEndPage() event handler?

How to add a border to a paragraph?

How to introduce multiple PdfPageEventHelper instances?

How to add a page number in the header of a PDF/A Level A file?

How to change the color of pages?

How to set a fixed background image for all my pages?

How to check for an event and remove it?

How to rotate a page while creating a PDF document?

How can I add an image to all pages of my PDF?

How to add a rectangle to every page of a document?

How can I add titles of chapters in ColumnText?

How to add a table as a header?

How to generate a report with dynamic header in PDF using iText 7?

How to create a table with 2 rows that can be used as a footer?

How to add text as a header or footer?

How to draw a line every 25 words?

JavaScript errors detected

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

If this problem persists, please contact our support.