Annotation Public class
Description
An Annotation is a little note that can be added to a page on a document.
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text iTextSharp.text.Annotation[[Annotation]] iTextSharp.text.IElement[[IElement]] class iTextSharp.text.IElement interfaceStyle; end iTextSharp.text.IElement --> iTextSharp.text.Annotation
Members
Properties
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
() |
|
|
() |
|
|
(
listener)
|
|
|
( |
|
|
() |
Details
Summary
An Annotation is a little note that can be added to a page on a document.
Inheritance
Constructors
Annotation [1/10]
Source code
public Annotation(Annotation an)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
an |
Annotation [2/10]
Source code
public Annotation(string title, string text)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
title |
the title of the annotation |
|
|
text |
the content of the annotation |
Summary
Constructs an Annotation with a certain title and some text.
Annotation [3/10]
Source code
public Annotation(string title, string text, float llx, float lly, float urx, float ury)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
title |
the title of the annotation |
|
|
text |
the content of the annotation |
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
Summary
Constructs an Annotation with a certain title and some text.
Annotation [4/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, Uri url)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
url |
the external reference |
Summary
Constructs an Annotation.
Annotation [5/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, string url)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
url |
the external reference |
Summary
Constructs an Annotation.
Annotation [6/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, string file, string dest)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
file |
an external PDF file |
|
|
dest |
the destination in this file |
Summary
Constructs an Annotation.
Annotation [7/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, string moviePath, string mimeType, bool showOnDisplay)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
moviePath |
path to the media clip file |
|
|
mimeType |
mime type of the media |
|
|
showOnDisplay |
if true play on display of the page |
Summary
Creates a Screen anotation to embed media clips
Annotation [8/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, string file, int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
file |
an external PDF file |
|
|
page |
a page number in this file |
Summary
Constructs an Annotation.
Annotation [9/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, int named)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
named |
a named destination in this file |
Summary
Constructs an Annotation.
Annotation [10/10]
Source code
public Annotation(float llx, float lly, float urx, float ury, string application, string parameters, string operation, string defaultdir)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
|
|
application |
an external application |
|
|
parameters |
parameters to pass to this application |
|
|
operation |
the operation to pass to this application |
|
|
defaultdir |
the default directory to run this application in |
Summary
Constructs an Annotation.
Methods
Process
Source code
public virtual 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 process successfully
SetDimensions
Source code
public virtual void SetDimensions(float llx, float lly, float urx, float ury)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
llx |
the lower left x-value |
|
|
lly |
the lower left y-value |
|
|
urx |
the upper right x-value |
|
|
ury |
the upper right y-value |
Summary
Sets the dimensions of this annotation.
GetLlx [1/2]
Source code
public virtual float GetLlx()
Summary
Returns the lower left x-value.
Returns
a value
GetLly [1/2]
Source code
public virtual float GetLly()
Summary
Returns the lower left y-value.
Returns
a value
GetUrx [1/2]
Source code
public virtual float GetUrx()
Summary
Returns the uppper right x-value.
Returns
a value
GetUry [1/2]
Source code
public virtual float GetUry()
Summary
Returns the uppper right y-value.
Returns
a value
GetLlx [2/2]
Source code
public virtual float GetLlx(float def)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
def |
the default value |
Summary
Returns the lower left x-value.
Returns
a value
GetLly [2/2]
Source code
public virtual float GetLly(float def)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
def |
the default value |
Summary
Returns the lower left y-value.
Returns
a value
GetUrx [2/2]
Source code
public virtual float GetUrx(float def)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
def |
the default value |
Summary
Returns the upper right x-value.
Returns
a value
GetUry [2/2]
Source code
public virtual float GetUry(float def)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
def |
the default value |
Summary
Returns the upper right y-value.
Returns
a value
IsContent
Source code
public virtual bool IsContent()
IsNestable
Source code
public virtual bool IsNestable()
ToString
Source code
public override string ToString()
Properties
Type
public virtual int Type { get; }
Summary
Gets the type of the text element
Chunks
public virtual IList<Chunk> Chunks { get; }
Summary
Gets all the chunks in this element.
Value
an ArrayList
AnnotationType
public virtual int AnnotationType { get; }
Summary
Returns the type of this Annotation.
Value
a type
Title
public virtual string Title { get; }
Summary
Returns the title of this Annotation.
Value
a name
Content
public virtual string Content { get; }
Summary
Gets the content of this Annotation.
Value
a reference
Attributes
public virtual Dictionary<string, object> Attributes { get; }
Summary
Gets the content of this Annotation.
Value
a reference
Generated with ModularDoc