Adding Page Header and Footer

Adding Page Header and Footer

Forum member · Mar 25, 2025
Newbie alert I'm trying to add a Header and Footer text to Document. The Footer text displays, but not the Header text. I have the following code Document document = new Document(); ceTe.DynamicPDF.Page page = new ceTe.DynamicPDF.Page(); HeaderFooterTemplate headerFooter = new HeaderFooterTemplate("UNCLASSIFIED", "UNCLASSIFIED"); document.Template = headerFooter; . . document.Pages.Add(page); document.Draw();