Customizing headers and footers declaratively

This sample illustrates how to customize headers and footers declaratively. Click the 'Export' button to export custom headers and footers in the PDF document.