How can I add header and footer for each page in the pdf.
Headed will contain just a text Footer will contain a text and pagination for pdf (Page : 1 of 4)
H
Just add this line before opening the document (must be before):
document.Header = new HeaderFooter(new Phrase("Header Text"), false); document.Open();