This sample shows how to modify an existing PDF document using SelectPdf to make space for headers and footers and
how to add the header and footer to the existing pdf document.
Headers and footers are designed using pdf templates. Header is displayed at the top of the page. Footer is displayed at the bottom of the page.
They contain elements that repeat on each page of the pdf document.
Note: doc.Header and doc.Footer properties must not be used in this case, as they only work for new pdf documents or new pdf pages.
The sample uses the following (existing) test PDF:
Test PDF document