Anchor Public class
Description
An Anchor can be a reference or a destination of a reference.
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text iTextSharp.text.Anchor[[Anchor]] iTextSharp.text.Phrase[[Phrase]] end iTextSharp.text.Phrase --> iTextSharp.text.Anchor
Members
Properties
Public properties
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
(
listener)
IElementListener |
Protected methods
|
Returns |
Name |
|---|---|
|
|
(
chunk, |
Details
Summary
An Anchor can be a reference or a destination of a reference.
Remarks
An Anchor is a special kind of Phrase . It is constructed in the same way.
Inheritance
Constructors
Anchor [1/9]
Source code
public Anchor()
Summary
Constructs an Anchor without specifying a leading.
Anchor [2/9]
Source code
public Anchor(float leading)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
leading |
the leading |
Summary
Constructs an Anchor with a certain leading.
Anchor [3/9]
Source code
public Anchor(Chunk chunk)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chunk |
a Chunk |
Summary
Constructs an Anchor with a certain Chunk.
Anchor [4/9]
Source code
public Anchor(string str)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
str |
a string |
Summary
Constructs an Anchor with a certain string.
Anchor [5/9]
Source code
public Anchor(string str, Font font)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
str |
a string |
|
|
font |
a Font |
Summary
Constructs an Anchor with a certain string and a certain Font.
Anchor [6/9]
Source code
public Anchor(float leading, Chunk chunk)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
leading |
the leading |
|
|
chunk |
a Chunk |
Summary
Constructs an Anchor with a certain Chunk and a certain leading.
Anchor [7/9]
Source code
public Anchor(float leading, string str)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
leading |
the leading |
|
|
str |
a string |
Summary
Constructs an Anchor with a certain leading and a certain string.
Anchor [8/9]
Source code
public Anchor(float leading, string str, Font font)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
leading |
the leading |
|
|
str |
a string |
|
|
font |
a Font |
Summary
Constructs an Anchor with a certain leading, a certain string and a certain Font.
Anchor [9/9]
Source code
public Anchor(Phrase phrase)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
phrase |
Methods
Process
Source code
public override bool Process(IElementListener listener)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
listener |
an IElementListener |
Summary
Processes the element by adding it (or the different parts) to an IElementListener
Returns
true if the element was processed successfully
ApplyAnchor
Source code
protected virtual bool ApplyAnchor(Chunk chunk, bool notGotoOK, bool localDestination)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chunk |
|
|
|
notGotoOK |
|
|
|
localDestination |
Properties
Chunks
public override IList<Chunk> Chunks { get; }
Summary
Gets all the chunks in this element.
Value
an ArrayList
Type
public override int Type { get; }
Summary
Gets the type of the text element.
Value
a type
Name
public virtual string Name { get; set; }
Summary
Name of this Anchor.
Reference
public virtual string Reference { get; set; }
Summary
reference of this Anchor.
Url
public virtual Uri Url { get; }
Summary
reference of this Anchor.
Value
an Uri
Generated with ModularDoc