A HeaderFooter-object is a Rectangle with text that can be put above and/or below every page.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public class HeaderFooter : Rectangle
Visual Basic
Public Class HeaderFooter _
	Inherits Rectangle
Visual C++
public ref class HeaderFooter : public Rectangle

Examples

CopyC#
<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

See Also