In this demo you learn how to add a custom background content to the PDF pages created by the converter in the PageLayoutingEvent event handler called right before rendering the main HTML content in PDF page.

The PageLayoutingEvent event handler parameter contains the PdfPage object being rendered and the rectangle inside the page that will be rendered. The PDF objects added to the PdfPage in this event handler will be rendered in the background of the main HTML content.
HTML Document URL
Settings
Set PDF background color components as values from 0 to 255:
Red: Green: Blue:
Page Margins:
Left: pt Right: pt Top: pt Bottom: pt