Adding Page Header and Footer

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v11)  /  Adding Page Header and Footer

DynamicPDF CoreSuite for .NET (v11) Forum

 Mar 25 2025 8:16 AM
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();
          

All times are US Eastern Standard time. The time now is 8:31 AM.