Add Headers/Footers on Specific Pages IronPDF has the ability to add headers and footers to existing PDF files. We can also use methods of IronPDF to add customized Headers and Footers to old or new PDF documents. To do so, we wait until after the PDF is rendered using the following methods: Add Text Headers Using IronPDF uses IronPdf.PdfDocument.AddHeaders(IronPdf.TextHeaderFooter, System.Boolean, System.Collections.Generic.IEnumerable<System.Int32>) Add Text Footers Using IronPDF uses IronPdf.PdfDocument.AddFooters(IronPdf.TextHeaderFooter, System.Boolean, System.Collections.Generic.IEnumerable<System.Int32>) Add HTML Headers Using IronPDF uses IronPdf.PdfDocument.AddHTMLHeaders(IronPdf.HtmlHeaderFooter, System.Boolean, System.Collections.Generic.IEnumerable<System.Int32>) Add HTML Footers Using IronPDF uses IronPdf.PdfDocument.AddHTMLFooters(IronPdf.HtmlHeaderFooter, System.Boolean, System.Collections.Generic.IEnumerable<System.Int32>) Explore How-To Guide for Headers & Footers with IronPDF View on GitHub Code https://github.com/irondarrius/IronPdf.Examples/tree/main/examples/adding-headers-and-footers-advanced Download ZIP Related Tutorial Related How-To Guide Class Documentation Get Language Packs Download IronPDF DLL Report an Issue on this page Ready to Get Started? Nuget Downloads 17,803,474 | Version: 2026.3 just released Start Free Trial Free NuGet Download Total downloads: 17,803,474 View Licenses Still Scrolling? Want proof fast? PM > Install-Package IronPdf run a sample watch your HTML become a PDF. Free NuGet Download Total downloads: 17,803,474 View Licenses
All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)