PDF .NET Library Logo
Home Products Code Library Online Demos Support Forum Buy About Us  
Code Library

Setting different headers for different pages

The code sample demonstrates how to set different headers for different pages.

c# sample:

PDFDocument doc = new PDFDocument("sample.pdf");

doc.CurrentPage.Header.AddImage(new PDFImage("sample.bmp"));

doc.NewPage();

doc.CurrentPage.Header.AddText("Sample text");

doc.Save();

 

Back to PDF Code Library