C# Класс iTextSharp.text.Annotation

An Annotation is a little note that can be added to a page on a document.
Наследование: IElement
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
annotationAttributes object>.Dictionary
annotationtype int

Открытые методы

Метод Описание
Annotation ( Annotation an ) : System
Annotation ( float llx, float lly, float urx, float ury, Uri url ) : System

Constructs an Annotation.

Annotation ( float llx, float lly, float urx, float ury, int named ) : System

Constructs an Annotation.

Annotation ( float llx, float lly, float urx, float ury, string url ) : System

Constructs an Annotation.

Annotation ( float llx, float lly, float urx, float ury, string file, int page ) : System

Constructs an Annotation.

Annotation ( float llx, float lly, float urx, float ury, string file, string dest ) : System

Constructs an Annotation.

Annotation ( float llx, float lly, float urx, float ury, string moviePath, string mimeType, bool showOnDisplay ) : System

Creates a Screen anotation to embed media clips

Annotation ( float llx, float lly, float urx, float ury, string application, string parameters, string operation, string defaultdir ) : System

Constructs an Annotation.

Annotation ( string title, string text ) : System

Constructs an Annotation with a certain title and some text.

Annotation ( string title, string text, float llx, float lly, float urx, float ury ) : System

Constructs an Annotation with a certain title and some text.

GetLlx ( ) : float

Returns the lower left x-value.

GetLlx ( float def ) : float

Returns the lower left x-value.

GetLly ( ) : float

Returns the lower left y-value.

GetLly ( float def ) : float

Returns the lower left y-value.

GetUrx ( ) : float

Returns the uppper right x-value.

GetUrx ( float def ) : float

Returns the upper right x-value.

GetUry ( ) : float

Returns the uppper right y-value.

GetUry ( float def ) : float

Returns the upper right y-value.

IsContent ( ) : bool
IsNestable ( ) : bool
Process ( IElementListener listener ) : bool

Processes the element by adding it (or the different parts) to an IElementListener.

SetDimensions ( float llx, float lly, float urx, float ury ) : void

Sets the dimensions of this annotation.

ToString ( ) : string

Приватные методы

Метод Описание
Annotation ( float llx, float lly, float urx, float ury ) : System

Constructs an Annotation with a certain title and some text.

Описание методов

Annotation() публичный метод

public Annotation ( Annotation an ) : System
an Annotation
Результат System

Annotation() публичный метод

Constructs an Annotation.
public Annotation ( float llx, float lly, float urx, float ury, Uri url ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
url System.Uri the external reference
Результат System

Annotation() публичный метод

Constructs an Annotation.
public Annotation ( float llx, float lly, float urx, float ury, int named ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
named int a named destination in this file
Результат System

Annotation() публичный метод

Constructs an Annotation.
public Annotation ( float llx, float lly, float urx, float ury, string url ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
url string the external reference
Результат System

Annotation() публичный метод

Constructs an Annotation.
public Annotation ( float llx, float lly, float urx, float ury, string file, int page ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
file string an external PDF file
page int a page number in this file
Результат System

Annotation() публичный метод

Constructs an Annotation.
public Annotation ( float llx, float lly, float urx, float ury, string file, string dest ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
file string an external PDF file
dest string the destination in this file
Результат System

Annotation() публичный метод

Creates a Screen anotation to embed media clips
public Annotation ( float llx, float lly, float urx, float ury, string moviePath, string mimeType, bool showOnDisplay ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
moviePath string path to the media clip file
mimeType string mime type of the media
showOnDisplay bool if true play on display of the page
Результат System

Annotation() публичный метод

Constructs an Annotation.
public Annotation ( float llx, float lly, float urx, float ury, string application, string parameters, string operation, string defaultdir ) : System
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
application string an external application
parameters string parameters to pass to this application
operation string the operation to pass to this application
defaultdir string the default directory to run this application in
Результат System

Annotation() публичный метод

Constructs an Annotation with a certain title and some text.
public Annotation ( string title, string text ) : System
title string the title of the annotation
text string the content of the annotation
Результат System

Annotation() публичный метод

Constructs an Annotation with a certain title and some text.
public Annotation ( string title, string text, float llx, float lly, float urx, float ury ) : System
title string the title of the annotation
text string the content of the annotation
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
Результат System

GetLlx() публичный метод

Returns the lower left x-value.
public GetLlx ( ) : float
Результат float

GetLlx() публичный метод

Returns the lower left x-value.
public GetLlx ( float def ) : float
def float the default value
Результат float

GetLly() публичный метод

Returns the lower left y-value.
public GetLly ( ) : float
Результат float

GetLly() публичный метод

Returns the lower left y-value.
public GetLly ( float def ) : float
def float the default value
Результат float

GetUrx() публичный метод

Returns the uppper right x-value.
public GetUrx ( ) : float
Результат float

GetUrx() публичный метод

Returns the upper right x-value.
public GetUrx ( float def ) : float
def float the default value
Результат float

GetUry() публичный метод

Returns the uppper right y-value.
public GetUry ( ) : float
Результат float

GetUry() публичный метод

Returns the upper right y-value.
public GetUry ( float def ) : float
def float the default value
Результат float

IsContent() публичный метод

public IsContent ( ) : bool
Результат bool

IsNestable() публичный метод

public IsNestable ( ) : bool
Результат bool

Process() публичный метод

Processes the element by adding it (or the different parts) to an IElementListener.
public Process ( IElementListener listener ) : bool
listener IElementListener an IElementListener
Результат bool

SetDimensions() публичный метод

Sets the dimensions of this annotation.
public SetDimensions ( float llx, float lly, float urx, float ury ) : void
llx float the lower left x-value
lly float the lower left y-value
urx float the upper right x-value
ury float the upper right y-value
Результат void

ToString() публичный метод

public ToString ( ) : string
Результат string

Описание свойств

annotationAttributes защищенное свойство

This is the title of the Annotation.
protected Dictionary annotationAttributes
Результат object>.Dictionary

annotationtype защищенное свойство

This is the type of annotation.
protected int annotationtype
Результат int