C# Class iTextSharp.text.Anchor

An Anchor can be a reference or a destination of a reference.
An Anchor is a special kind of T:iTextSharp.text.Phrase. It is constructed in the same way.
Inheritance: Phrase
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Property Type Description
name string
reference string

Public Methods

Method Description
Anchor ( ) : System

Constructs an Anchor without specifying a leading.

Anchor ( Chunk chunk ) : System

Constructs an Anchor with a certain Chunk.

Anchor ( Phrase phrase ) : System
Anchor ( float leading ) : System

Constructs an Anchor with a certain leading.

Anchor ( float leading, Chunk chunk ) : System

Constructs an Anchor with a certain Chunk and a certain leading.

Anchor ( float leading, string str ) : System

Constructs an Anchor with a certain leading and a certain string.

Anchor ( float leading, string str, Font font ) : System

Constructs an Anchor with a certain leading, a certain string and a certain Font.

Anchor ( string str ) : System

Constructs an Anchor with a certain string.

Anchor ( string str, Font font ) : System

Constructs an Anchor with a certain string and a certain Font.

Process ( IElementListener listener ) : bool

Processes the element by adding it (or the different parts) to an T:iTextSharp.text.IElementListener

Protected Methods

Method Description
ApplyAnchor ( Chunk chunk, bool notGotoOK, bool localDestination ) : bool

Method Details

Anchor() public method

Constructs an Anchor without specifying a leading.
public Anchor ( ) : System
return System

Anchor() public method

Constructs an Anchor with a certain Chunk.
public Anchor ( Chunk chunk ) : System
chunk Chunk a Chunk
return System

Anchor() public method

public Anchor ( Phrase phrase ) : System
phrase Phrase
return System

Anchor() public method

Constructs an Anchor with a certain leading.
public Anchor ( float leading ) : System
leading float the leading
return System

Anchor() public method

Constructs an Anchor with a certain Chunk and a certain leading.
public Anchor ( float leading, Chunk chunk ) : System
leading float the leading
chunk Chunk a Chunk
return System

Anchor() public method

Constructs an Anchor with a certain leading and a certain string.
public Anchor ( float leading, string str ) : System
leading float the leading
str string a string
return System

Anchor() public method

Constructs an Anchor with a certain leading, a certain string and a certain Font.
public Anchor ( float leading, string str, Font font ) : System
leading float the leading
str string a string
font Font a Font
return System

Anchor() public method

Constructs an Anchor with a certain string.
public Anchor ( string str ) : System
str string a string
return System

Anchor() public method

Constructs an Anchor with a certain string and a certain Font.
public Anchor ( string str, Font font ) : System
str string a string
font Font a Font
return System

ApplyAnchor() protected method

protected ApplyAnchor ( Chunk chunk, bool notGotoOK, bool localDestination ) : bool
chunk Chunk
notGotoOK bool
localDestination bool
return bool

Process() public method

Processes the element by adding it (or the different parts) to an T:iTextSharp.text.IElementListener
public Process ( IElementListener listener ) : bool
listener IElementListener an IElementListener
return bool

Property Details

name protected property

This is the name of the Anchor.
protected string name
return string

reference protected property

This is the reference of the Anchor.
protected string reference
return string