A HeaderFooter-object is a Rectangle with text
that can be put above and/or below every page.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
Examples

<strong>HeaderFooter header = new HeaderFooter(new Phrase("This is a header."), false); HeaderFooter footer = new HeaderFooter(new Phrase("This is page "), new Phrase("."));</strong> document.SetHeader(header); document.SetFooter(footer);
Inheritance Hierarchy
System..::..Object
iTextSharp.text..::..Element
iTextSharp.text..::..Rectangle
iTextSharp.text..::..HeaderFooter
iTextSharp.text.rtf.headerfooter..::..RtfHeaderFooter
iTextSharp.text.rtf.headerfooter..::..RtfHeaderFooterGroup
iTextSharp.text..::..Element
iTextSharp.text..::..Rectangle
iTextSharp.text..::..HeaderFooter
iTextSharp.text.rtf.headerfooter..::..RtfHeaderFooter
iTextSharp.text.rtf.headerfooter..::..RtfHeaderFooterGroup