Add Classic Text Headers & Footers This code example shows how IronPDF allows developers to define headers and footers for PDF documents loaded from a file system or generated from HTML content. The TextHeaderFooter class enables developers to specify the text that should be included in the left, the right, or the central region of a PDF document's header or footer. As shown above, developers can quickly put together headers and footers using IronPDF's built-in templating tags (such as {date}, {time}, and {page}). Users do not need to use these tags exclusively; IronPDF gives users the freedom to truly incorporate any kind and amount of text at these locations. Consider using the HtmlHeaderFooter class in place of the TextHeaderFooter class for far greater design flexibility within IronPDF to enhance your document presentation. Explore the TextHeaderFooter Class Documentation Related Docs Links View on Github Related Tutorial Related How-To Guide Class Documentation Get Language Packs Download IronPDF DLL Report an Issue on this page Ready to Get Started? Version: 2025.11 just released Free Maven Download View Licenses
All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)