Skip to main content
Skip table of contents

Adding backgrounds using page events

Examples written in answer to questions such as:

pagebackgrounds

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/master/src/main/java/com/itextpdf/samples/sandbox/events/PageBackgrounds.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/master/itext/itext.samples/itext/samples/sandbox/events/PageBackgrounds.cs##

pageborder

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/master/src/main/java/com/itextpdf/samples/sandbox/events/PageBorder.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/master/itext/itext.samples/itext/samples/sandbox/events/PageBorder.cs##

Results

https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/events/cmp_page_backgrounds.pdf

https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/events/cmp_page_border.pdf

JavaScript errors detected

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

If this problem persists, please contact our support.