C# Class iTextSharp.text.HeaderFooter

A HeaderFooter-object is a Rectangle with text that can be put above and/or below every page.
Inheritance: Rectangle
ファイルを表示 Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
HeaderFooter ( Phrase before, Phrase after ) : System

Constructs a HeaderFooter-object.

HeaderFooter ( Phrase before, bool numbered ) : System

Constructs a Header-object with a pagenumber at the end.

HeaderFooter ( Properties attributes ) : System
IsNumbered ( ) : bool

Checks if the HeaderFooter contains a page number.

SetAlignment ( string alignment ) : void

Sets the alignment of this HeaderFooter.

Method Details

HeaderFooter() public method

Constructs a HeaderFooter-object.
public HeaderFooter ( Phrase before, Phrase after ) : System
before Phrase the Phrase before the pagenumber
after Phrase the Phrase after the pagenumber
return System

HeaderFooter() public method

Constructs a Header-object with a pagenumber at the end.
public HeaderFooter ( Phrase before, bool numbered ) : System
before Phrase the Phrase before the pagenumber
numbered bool true if the page has to be numbered
return System

HeaderFooter() public method

public HeaderFooter ( Properties attributes ) : System
attributes System.util.Properties
return System

IsNumbered() public method

Checks if the HeaderFooter contains a page number.
public IsNumbered ( ) : bool
return bool

SetAlignment() public method

Sets the alignment of this HeaderFooter.
public SetAlignment ( string alignment ) : void
alignment string the new alignment as a string
return void