HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.Anchor Class Reference

An Anchor can be a reference or a destination of a reference. More...

Inheritance diagram for iTextSharp.text.Anchor:
iTextSharp.text.Phrase iTextSharp.text.ITextElementArray iTextSharp.text.IElement

Public Member Functions

 Anchor ()
 Constructs an Anchor without specifying a leading. More...
 
 Anchor (float leading)
 Constructs an Anchor with a certain leading. More...
 
 Anchor (Chunk chunk)
 Constructs an Anchor with a certain Chunk. More...
 
 Anchor (string str)
 Constructs an Anchor with a certain string. More...
 
 Anchor (string str, Font font)
 Constructs an Anchor with a certain string and a certain Font. More...
 
 Anchor (float leading, Chunk chunk)
 Constructs an Anchor with a certain Chunk and a certain leading. More...
 
 Anchor (float leading, string str)
 Constructs an Anchor with a certain leading and a certain string. More...
 
 Anchor (float leading, string str, Font font)
 Constructs an Anchor with a certain leading, a certain string and a certain Font. More...
 
 Anchor (Phrase phrase)
 
override bool Process (IElementListener listener)
 Processes the element by adding it (or the different parts) to an T:iTextSharp.text.IElementListener More...
 
- Public Member Functions inherited from iTextSharp.text.Phrase
 Phrase ()
 Constructs a Phrase without specifying a leading. More...
 
 Phrase (Phrase phrase)
 
 Phrase (float leading)
 Constructs a Phrase with a certain leading. More...
 
 Phrase (Chunk chunk)
 Constructs a Phrase with a certain Chunk. More...
 
 Phrase (float leading, Chunk chunk)
 Constructs a Phrase with a certain Chunk and a certain leading. More...
 
 Phrase (string str)
 Constructs a Phrase with a certain string. More...
 
 Phrase (string str, Font font)
 Constructs a Phrase with a certain string and a certain Font. More...
 
 Phrase (float leading, string str)
 Constructs a Phrase with a certain leading and a certain string. More...
 
 Phrase (float leading, string str, Font font)
 
bool IsContent ()
 
bool IsNestable ()
 
virtual void Add (int index, Object o)
 Adds a Chunk, an Anchor or another Phrase to this Phrase. More...
 
virtual new bool Add (Object o)
 Adds a Chunk, Anchor or another Phrase to this Phrase. More...
 
bool AddAll (ICollection collection)
 Adds a collection of Chunks to this Phrase. More...
 
void AddSpecial (Object obj)
 Adds a Object to the Paragraph. More...
 
bool IsEmpty ()
 Checks is this Phrase contains no or 1 empty Chunk. More...
 
bool HasLeading ()
 
override string ToString ()
 Gets the content of the text element. More...
 

Protected Attributes

string name = null
 This is the name of the Anchor. More...
 
string reference = null
 This is the reference of the Anchor. More...
 
- Protected Attributes inherited from iTextSharp.text.Phrase
Single leading = Single.NaN
 This is the leading of this phrase. More...
 
Font font
 
IHyphenationEvent hyphenation = null
 

Properties

override ArrayList Chunks [get]
 Gets all the chunks in this element. More...
 
override int Type [get]
 Gets the type of the text element. More...
 
string Name [get, set]
 Name of this Anchor. More...
 
string Reference [get, set]
 reference of this Anchor. More...
 
Uri Url [get]
 reference of this Anchor. More...
 
- Properties inherited from iTextSharp.text.Phrase
virtual int Type [get]
 Gets the type of the text element. More...
 
virtual ArrayList Chunks [get]
 Gets all the chunks in this element. More...
 
virtual float Leading [get, set]
 Gets/sets the leading of this phrase. More...
 
Font Font [get, set]
 Gets the font of the first Chunk that appears in this Phrase. More...
 
String Content [get]
 
IHyphenationEvent Hyphenation [get, set]
 
- Properties inherited from iTextSharp.text.IElement
int Type [get]
 Gets the type of the text element. More...
 
ArrayList Chunks [get]
 Gets all the chunks in this element. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from iTextSharp.text.Phrase
static bool IsTag (string tag)
 Checks if a given tag corresponds with this object. More...
 
static Phrase GetInstance (String str)
 
static Phrase GetInstance (int leading, String str)
 
static Phrase GetInstance (int leading, String str, Font font)
 
- Protected Member Functions inherited from iTextSharp.text.Phrase
bool AddChunk (Chunk chunk)
 Adds a Chunk. More...
 

Detailed Description

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.

See also
T:iTextSharp.text.Element, T:iTextSharp.text.Phrase

Constructor & Destructor Documentation

◆ Anchor() [1/9]

iTextSharp.text.Anchor.Anchor ( )

Constructs an Anchor without specifying a leading.

<overloads> Has nine overloads. </overloads>

◆ Anchor() [2/9]

iTextSharp.text.Anchor.Anchor ( float  leading)

Constructs an Anchor with a certain leading.

Parameters
leadingthe leading

◆ Anchor() [3/9]

iTextSharp.text.Anchor.Anchor ( Chunk  chunk)

Constructs an Anchor with a certain Chunk.

Parameters
chunka Chunk

◆ Anchor() [4/9]

iTextSharp.text.Anchor.Anchor ( string  str)

Constructs an Anchor with a certain string.

Parameters
stra string

◆ Anchor() [5/9]

iTextSharp.text.Anchor.Anchor ( string  str,
Font  font 
)

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

Parameters
stra string
fonta Font

◆ Anchor() [6/9]

iTextSharp.text.Anchor.Anchor ( float  leading,
Chunk  chunk 
)

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

Parameters
leadingthe leading
chunka Chunk

◆ Anchor() [7/9]

iTextSharp.text.Anchor.Anchor ( float  leading,
string  str 
)

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

Parameters
leadingthe leading
stra string

◆ Anchor() [8/9]

iTextSharp.text.Anchor.Anchor ( float  leading,
string  str,
Font  font 
)

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

Parameters
leadingthe leading
stra string
fonta Font

◆ Anchor() [9/9]

iTextSharp.text.Anchor.Anchor ( Phrase  phrase)

Constructs an Anchor with a certain Phrase.

Parameters
phrasea Phrase

Member Function Documentation

◆ Process()

override bool iTextSharp.text.Anchor.Process ( IElementListener  listener)
virtual

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

Parameters
listeneran IElementListener
Returns
true if the element was processed successfully

Reimplemented from iTextSharp.text.Phrase.

Member Data Documentation

◆ name

string iTextSharp.text.Anchor.name = null
protected

This is the name of the Anchor.

◆ reference

string iTextSharp.text.Anchor.reference = null
protected

This is the reference of the Anchor.

Property Documentation

◆ Chunks

override ArrayList iTextSharp.text.Anchor.Chunks
get

Gets all the chunks in this element.

an ArrayList

◆ Name

string iTextSharp.text.Anchor.Name
getset

Name of this Anchor.

◆ Reference

string iTextSharp.text.Anchor.Reference
getset

reference of this Anchor.

◆ Type

override int iTextSharp.text.Anchor.Type
get

Gets the type of the text element.

a type

◆ Url

Uri iTextSharp.text.Anchor.Url
get

reference of this Anchor.

an Uri


The documentation for this class was generated from the following file: