iText 8.0.2 API
|
This is a super class for the annotation dictionary wrappers. More...
Classes |
|
class | PdfUnknownAnnotation |
Public Member Functions |
|
abstract PdfName | GetSubtype () |
Gets a iText.Kernel.Pdf.PdfName which value is a subtype of this annotation. More... |
|
virtual void | SetLayer (IPdfOCG layer) |
Sets the layer this annotation belongs to. More... |
|
virtual PdfString | GetContents () |
Gets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetContents (PdfString contents) |
Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetContents (String contents) |
Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form. More... |
|
virtual PdfDictionary | GetPageObject () |
Gets a iText.Kernel.Pdf.PdfDictionary that represents a page of the document on which annotation is placed, i.e. which has this annotation in it's /Annots array. More... |
|
virtual PdfPage | GetPage () |
Gets a iText.Kernel.Pdf.PdfPage on which annotation is placed. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetPage (PdfPage page) |
Method that modifies annotation page property, which defines to which page annotation belongs. More... |
|
virtual PdfString | GetName () |
Gets the annotation name, a text string uniquely identifying it among all the annotations on its page. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetName (PdfString name) |
Sets the annotation name, a text string uniquely identifying it among all the annotations on its page. More... |
|
virtual PdfString | GetDate () |
The date and time when the annotation was most recently modified. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetDate (PdfString date) |
The date and time when the annotation was most recently modified. More... |
|
virtual int | GetFlags () |
A set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags"). More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetFlags (int flags) |
Sets a set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags"). More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetFlag (int flag) |
Sets a flag that specifies a characteristic of the annotation to enabled state (see ISO-320001 12.5.3, "Annotation Flags"). More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | ResetFlag (int flag) |
Resets a flag that specifies a characteristic of the annotation to disabled state (see ISO-320001 12.5.3, "Annotation Flags"). More... |
|
virtual bool | HasFlag (int flag) |
Checks if the certain flag that specifies a characteristic of the annotation is in enabled state (see ISO-320001 12.5.3, "Annotation Flags"). More... |
|
virtual PdfDictionary | GetAppearanceDictionary () |
An appearance dictionary specifying how the annotation shall be presented visually on the page during its interactions with the user (see ISO-320001 12.5.5, "Appearance Streams"). More... |
|
virtual PdfDictionary | GetAppearanceObject (PdfName appearanceType) |
Specific appearance object corresponding to the specific appearance type. More... |
|
virtual PdfDictionary | GetNormalAppearanceObject () |
The normal appearance is used when the annotation is not interacting with the user. More... |
|
virtual PdfDictionary | GetRolloverAppearanceObject () |
The rollover appearance is used when the user moves the cursor into the annotation’s active area without pressing the mouse button. More... |
|
virtual PdfDictionary | GetDownAppearanceObject () |
The down appearance is used when the mouse button is pressed or held down within the annotation’s active area. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetAppearance (PdfName appearanceType, PdfDictionary appearance) |
Sets a specific type of the appearance. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetNormalAppearance (PdfDictionary appearance) |
Sets normal appearance. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetRolloverAppearance (PdfDictionary appearance) |
Sets rollover appearance. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetDownAppearance (PdfDictionary appearance) |
Sets down appearance. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetAppearance (PdfName appearanceType, PdfAnnotationAppearance appearance) |
Sets a specific type of the appearance using PdfAnnotationAppearance wrapper. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetNormalAppearance (PdfAnnotationAppearance appearance) |
Sets normal appearance using PdfAnnotationAppearance wrapper. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetRolloverAppearance (PdfAnnotationAppearance appearance) |
Sets rollover appearance using PdfAnnotationAppearance wrapper. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetDownAppearance (PdfAnnotationAppearance appearance) |
Sets down appearance using PdfAnnotationAppearance wrapper. More... |
|
virtual PdfName | GetAppearanceState () |
The annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary if there is such. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetAppearanceState (PdfName @as) |
Sets the annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary. More... |
|
virtual PdfArray | GetBorder () |
An array specifying the characteristics of the annotation’s border. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetBorder (PdfAnnotationBorder border) |
Sets the characteristics of the annotation’s border. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetBorder (PdfArray border) |
Sets the characteristics of the annotation’s border. More... |
|
virtual PdfArray | GetColorObject () |
An array of numbers in the range 0.0 to 1.0, representing a colour used for the following purposes:
The number of array elements determines the colour space in which the colour shall be defined:
|
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetColor (PdfArray color) |
Sets an annotation color. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetColor (float[] color) |
Sets an annotation color. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetColor (Color color) |
Sets an annotation color. More... |
|
virtual int | GetStructParentIndex () |
The integer key of the annotation’s entry in the structural parent tree (see ISO-320001 14.7.4.4, "Finding Structure Elements from Content Items"). More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetStructParentIndex (int structParentIndex) |
Sets he integer key of the annotation’s entry in the structural parent tree (see ISO-320001 14.7.4.4, "Finding Structure Elements from Content Items"). More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetTitle (PdfString title) |
Sets annotation title. More... |
|
virtual PdfString | GetTitle () |
Annotation title. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetRectangle (PdfArray array) |
The annotation rectangle, defining the location of the annotation on the page in default user space units. More... |
|
virtual PdfArray | GetRectangle () |
The annotation rectangle, defining the location of the annotation on the page in default user space units. More... |
|
virtual String | GetLang () |
PDF 2.0. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetLang (String lang) |
PDF 2.0. More... |
|
virtual PdfName | GetBlendMode () |
PDF 2.0. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetBlendMode (PdfName blendMode) |
PDF 2.0. More... |
|
virtual float | GetNonStrokingOpacity () |
PDF 2.0. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetNonStrokingOpacity (float nonStrokingOpacity) |
PDF 2.0. More... |
|
virtual float | GetStrokingOpacity () |
PDF 2.0. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | SetStrokingOpacity (float strokingOpacity) |
PDF 2.0. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | Put (PdfName key, PdfObject value) |
Inserts the value into into the underlying iText.Kernel.Pdf.PdfDictionary of this PdfAnnotation and associates it with the specified key. More... |
|
virtual iText.Kernel.Pdf.Annot.PdfAnnotation | Remove (PdfName key) |
Removes the specified key from the underlying iText.Kernel.Pdf.PdfDictionary of this PdfAnnotation. More... |
|
virtual void | AddAssociatedFile (PdfFileSpec fs) |
virtual PdfArray | GetAssociatedFiles (bool create) |
Returns files associated with PDF annotation. More... |
|
override void | Flush () |
To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference. More... |
|
![]() |
|
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual bool | IsFlushed () |
Static Public Member Functions |
|
static iText.Kernel.Pdf.Annot.PdfAnnotation | MakeAnnotation (PdfObject pdfObject) |
Factory method that creates the type specific PdfAnnotation from the given iText.Kernel.Pdf.PdfObject that represents annotation object. More... |
|
Static Public Attributes |
|
const int | INVISIBLE = 1 |
Annotation flag. More... |
|
const int | HIDDEN = 2 |
Annotation flag. More... |
|
const int | PRINT = 4 |
Annotation flag. More... |
|
const int | NO_ZOOM = 8 |
Annotation flag. More... |
|
const int | NO_ROTATE = 16 |
Annotation flag. More... |
|
const int | NO_VIEW = 32 |
Annotation flag. More... |
|
const int | READ_ONLY = 64 |
Annotation flag. More... |
|
const int | LOCKED = 128 |
Annotation flag. More... |
|
const int | TOGGLE_NO_VIEW = 256 |
Annotation flag. More... |
|
const int | LOCKED_CONTENTS = 512 |
Annotation flag. More... |
|
static readonly PdfName | HIGHLIGHT_NONE = PdfName.N |
Widget annotation highlighting mode. More... |
|
static readonly PdfName | HIGHLIGHT_INVERT = PdfName.I |
Widget annotation highlighting mode. More... |
|
static readonly PdfName | HIGHLIGHT_OUTLINE = PdfName.O |
Widget annotation highlighting mode. More... |
|
static readonly PdfName | HIGHLIGHT_PUSH = PdfName.P |
Widget annotation highlighting mode. More... |
|
static readonly PdfName | HIGHLIGHT_TOGGLE = PdfName.T |
Widget annotation highlighting mode. More... |
|
static readonly PdfName | STYLE_SOLID = PdfName.S |
Annotation border style. More... |
|
static readonly PdfName | STYLE_DASHED = PdfName.D |
Annotation border style. More... |
|
static readonly PdfName | STYLE_BEVELED = PdfName.B |
Annotation border style. More... |
|
static readonly PdfName | STYLE_INSET = PdfName.I |
Annotation border style. More... |
|
static readonly PdfName | STYLE_UNDERLINE = PdfName.U |
Annotation border style. More... |
|
static readonly PdfString | Marked = new PdfString("Marked") |
Annotation state. More... |
|
static readonly PdfString | Unmarked = new PdfString("Unmarked") |
Annotation state. More... |
|
static readonly PdfString | Accepted = new PdfString("Accepted") |
Annotation state. More... |
|
static readonly PdfString | Rejected = new PdfString("Rejected") |
Annotation state. More... |
|
static readonly PdfString | Canceled = new PdfString("Cancelled") |
Annotation state. More... |
|
static readonly PdfString | Completed = new PdfString("Completed") |
Annotation state. More... |
|
static readonly PdfString | None = new PdfString("None") |
Annotation state. More... |
|
static readonly PdfString | MarkedModel = new PdfString("Marked") |
Annotation state model. More... |
|
static readonly PdfString | ReviewModel = new PdfString("Review") |
Annotation state model. More... |
|
This is a super class for the annotation dictionary wrappers.
This is a super class for the annotation dictionary wrappers. Derived classes represent different standard types of annotations. See ISO-320001 12.5.6, "Annotation Types."
|
inlinevirtual |
Adds file associated with PDF annotation and identifies the relationship between them.
Adds file associated with PDF annotation and identifies the relationship between them.
Associated files may be used in Pdf/A-3 and Pdf 2.0 documents. The method adds file to array value of the AF key in the annotation dictionary.
For associated files their associated file specification dictionaries shall include the AFRelationship key
fs | file specification dictionary of associated file |
|
inlinevirtual |
To manually flush a PdfObject
behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference.
To manually flush a PdfObject
behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference. Basically this means that before flushing you need to explicitly call iText.Kernel.Pdf.PdfObjectWrapper
Reimplemented from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary >.
|
inlinevirtual |
An appearance dictionary specifying how the annotation shall be presented visually on the page during its interactions with the user (see ISO-320001 12.5.5, "Appearance Streams").
An appearance dictionary specifying how the annotation shall be presented visually on the page during its interactions with the user (see ISO-320001 12.5.5, "Appearance Streams"). An appearance dictionary is a dictionary containing one or several appearance streams or subdictionaries.
|
inlinevirtual |
Specific appearance object corresponding to the specific appearance type.
Specific appearance object corresponding to the specific appearance type. This object might be either an appearance stream or an appearance subdictionary. In the latter case, the subdictionary defines multiple appearance streams corresponding to different appearance states of the annotation. See ISO-320001 12.5.5, "Appearance Streams".
appearanceType | a iText.Kernel.Pdf.PdfName specifying appearance type. Possible types are Normal , Rollover and Down. |
|
inlinevirtual |
The annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary if there is such.
The annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary if there is such. See GetAppearanceObject(iText.Kernel.Pdf.PdfName) for more info.
|
inlinevirtual |
Returns files associated with PDF annotation.
create | defines whether AF arrays will be created if it doesn't exist |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. The blend mode that shall be used when painting the annotation onto the page
|
inlinevirtual |
An array specifying the characteristics of the annotation’s border.
An array specifying the characteristics of the annotation’s border. The array consists of three numbers defining the horizontal corner radius, vertical corner radius, and border width, all in default user space units. If the corner radii are 0, the border has square (not rounded) corners; if the border width is 0, no border is drawn.
The array may have a fourth element, an optional dash array (see ISO-320001 8.4.3.6, "Line Dash Pattern").
|
inlinevirtual |
An array of numbers in the range 0.0 to 1.0, representing a colour used for the following purposes:
The number of array elements determines the colour space in which the colour shall be defined:
|
inlinevirtual |
Gets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
|
inlinevirtual |
The date and time when the annotation was most recently modified.
The date and time when the annotation was most recently modified. This is an optional property of the annotation.
|
inlinevirtual |
The down appearance is used when the mouse button is pressed or held down within the annotation’s active area.
The down appearance is used when the mouse button is pressed or held down within the annotation’s active area. If not specified normal appearance is used. See also GetAppearanceObject(iText.Kernel.Pdf.PdfName).
|
inlinevirtual |
A set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags").
A set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags"). For specific annotation flag constants see SetFlag(int). Default value: 0.
|
inlinevirtual |
PDF 2.0.
PDF 2.0. A language identifier overriding the document’s language identifier to specify the natural language for all text in the annotation except where overridden by other explicit language specifications
|
inlinevirtual |
Gets the annotation name, a text string uniquely identifying it among all the annotations on its page.
|
inlinevirtual |
PDF 2.0.
PDF 2.0. When regenerating the annotation's appearance stream, this is the opacity value that shall be used for all nonstroking operations on all visible elements of the annotation in its closed state (including its background and border) but not the popup window that appears when the annotation is opened.
|
inlinevirtual |
The normal appearance is used when the annotation is not interacting with the user.
The normal appearance is used when the annotation is not interacting with the user. This appearance is also used for printing the annotation. See also GetAppearanceObject(iText.Kernel.Pdf.PdfName).
|
inlinevirtual |
Gets a iText.Kernel.Pdf.PdfPage on which annotation is placed.
iText.Kernel.Pdf.PdfPage on which annotation is placed or null if annotation is not placed yet.
|
inlinevirtual |
Gets a iText.Kernel.Pdf.PdfDictionary that represents a page of the document on which annotation is placed, i.e. which has this annotation in it's /Annots array.
iText.Kernel.Pdf.PdfDictionary that is a page pdf object or null if annotation is not added to the page yet.
|
inlinevirtual |
The annotation rectangle, defining the location of the annotation on the page in default user space units.
|
inlinevirtual |
The rollover appearance is used when the user moves the cursor into the annotation’s active area without pressing the mouse button.
The rollover appearance is used when the user moves the cursor into the annotation’s active area without pressing the mouse button. If not specified normal appearance is used. See also GetAppearanceObject(iText.Kernel.Pdf.PdfName).
|
inlinevirtual |
PDF 2.0.
PDF 2.0. When regenerating the annotation's appearance stream, this is the opacity value that shall be used for stroking all visible elements of the annotation in its closed state, including its background and border, but not the popup window that appears when the annotation is opened.
|
inlinevirtual |
The integer key of the annotation’s entry in the structural parent tree (see ISO-320001 14.7.4.4, "Finding Structure Elements from Content Items").
|
pure virtual |
Gets a iText.Kernel.Pdf.PdfName which value is a subtype of this annotation.
Gets a iText.Kernel.Pdf.PdfName which value is a subtype of this annotation. See ISO-320001 12.5.6, "Annotation Types" for the reference to the possible types.
Implemented in iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation, iText.Kernel.Pdf.Annot.PdfTrapNetworkAnnotation, iText.Kernel.Pdf.Annot.PdfSoundAnnotation, iText.Kernel.Pdf.Annot.PdfLinkAnnotation, iText.Kernel.Pdf.Annot.PdfLineAnnotation, iText.Kernel.Pdf.Annot.Pdf3DAnnotation, iText.Kernel.Pdf.Annot.PdfFreeTextAnnotation, iText.Kernel.Pdf.Annot.PdfWidgetAnnotation, iText.Kernel.Pdf.Annot.PdfFileAttachmentAnnotation, iText.Kernel.Pdf.Annot.PdfInkAnnotation, iText.Kernel.Pdf.Annot.PdfPrinterMarkAnnotation, iText.Kernel.Pdf.Annot.PdfPopupAnnotation, iText.Kernel.Pdf.Annot.PdfRedactAnnotation, iText.Kernel.Pdf.Annot.PdfCircleAnnotation, iText.Kernel.Pdf.Annot.PdfScreenAnnotation, iText.Kernel.Pdf.Annot.PdfSquareAnnotation, iText.Kernel.Pdf.Annot.PdfCaretAnnotation, iText.Kernel.Pdf.Annot.PdfStampAnnotation, iText.Kernel.Pdf.Annot.PdfTextAnnotation, and iText.Kernel.Pdf.Annot.PdfWatermarkAnnotation.
|
inlinevirtual |
Annotation title.
Annotation title. For example for markup annotations, the title is the text label that shall be displayed in the title bar of the annotation’s pop-up window when open and active. For movie annotation Movie actions (ISO-320001 12.6.4.9, "Movie Actions") may use this title to reference the movie annotation.
iText.Kernel.Pdf.PdfString which value is an annotation title or null if it isn't specified.
|
inlinevirtual |
Checks if the certain flag that specifies a characteristic of the annotation is in enabled state (see ISO-320001 12.5.3, "Annotation Flags").
Checks if the certain flag that specifies a characteristic of the annotation is in enabled state (see ISO-320001 12.5.3, "Annotation Flags"). This method allows only one flag to be checked at once, use constants listed in SetFlag(int).
flag | an integer interpreted as set of one-bit flags. Only one bit must be set in this integer, otherwise exception is thrown. |
|
inlinestatic |
Factory method that creates the type specific PdfAnnotation from the given iText.Kernel.Pdf.PdfObject that represents annotation object.
Factory method that creates the type specific PdfAnnotation from the given iText.Kernel.Pdf.PdfObject that represents annotation object. This method is useful for property reading in reading mode or modifying in stamping mode. See derived classes of this class to see possible specific annotation types created.
pdfObject | a iText.Kernel.Pdf.PdfObject that represents annotation in the document. |
|
inlinevirtual |
Inserts the value into into the underlying iText.Kernel.Pdf.PdfDictionary of this PdfAnnotation and associates it with the specified key.
Inserts the value into into the underlying iText.Kernel.Pdf.PdfDictionary of this PdfAnnotation and associates it with the specified key. If the key is already present in this PdfAnnotation , this method will override the old value with the specified one.
key | key to insert or to override |
value | the value to associate with the specified key |
|
inlinevirtual |
Removes the specified key from the underlying iText.Kernel.Pdf.PdfDictionary of this PdfAnnotation.
key | key to be removed |
|
inlinevirtual |
Resets a flag that specifies a characteristic of the annotation to disabled state (see ISO-320001 12.5.3, "Annotation Flags").
flag | an integer interpreted as set of one-bit flags which will be reset to disabled state. |
|
inlinevirtual |
Sets a specific type of the appearance using PdfAnnotationAppearance wrapper.
Sets a specific type of the appearance using PdfAnnotationAppearance wrapper. This method is used to set only an appearance subdictionary. See GetAppearanceObject(iText.Kernel.Pdf.PdfName) and GetAppearanceDictionary() for more info.
appearanceType | a iText.Kernel.Pdf.PdfName specifying appearance type. Possible types are Normal , Rollover and Down. |
appearance | an appearance subdictionary wrapped in PdfAnnotationAppearance. |
|
inlinevirtual |
Sets a specific type of the appearance.
Sets a specific type of the appearance. See GetAppearanceObject(iText.Kernel.Pdf.PdfName) and GetAppearanceDictionary() for more info.
appearanceType | a iText.Kernel.Pdf.PdfName specifying appearance type. Possible types are Normal , Rollover and Down. |
appearance | an appearance object which might be either an appearance stream or an appearance subdictionary. |
|
inlinevirtual |
Sets the annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary.
Sets the annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary. See GetAppearanceObject(iText.Kernel.Pdf.PdfName) for more info.
as | a iText.Kernel.Pdf.PdfName which defines appearance state to be selected. |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. The blend mode that shall be used when painting the annotation onto the page
blendMode | blend mode |
|
inlinevirtual |
Sets the characteristics of the annotation’s border.
border | an iText.Kernel.Pdf.PdfAnnotationBorder specifying the characteristics of the annotation’s border. See GetBorder() for more detailes. |
|
inlinevirtual |
Sets the characteristics of the annotation’s border.
border | an iText.Kernel.Pdf.PdfArray specifying the characteristics of the annotation’s border. See GetBorder() for more detailes. |
|
inlinevirtual |
Sets an annotation color.
Sets an annotation color. For more details on annotation color purposes see GetColorObject().
color |
iText.Kernel.Colors.Color object of the either iText.Kernel.Colors.DeviceGray , iText.Kernel.Colors.DeviceRgb or iText.Kernel.Colors.DeviceCmyk type.
|
inlinevirtual |
Sets an annotation color.
Sets an annotation color. For more details on annotation color purposes and the format of the passing array see GetColorObject().
color | an array of numbers in the range 0.0 to 1.0, specifying color. |
|
inlinevirtual |
Sets an annotation color.
Sets an annotation color. For more details on annotation color purposes and the format of the passing iText.Kernel.Pdf.PdfArray see GetColorObject().
color | an array of numbers in the range 0.0 to 1.0, specifying color. |
|
inlinevirtual |
Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
contents | a iText.Kernel.Pdf.PdfString containing text content to be set to the annotation. |
|
inlinevirtual |
Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
contents | a java System.String containing text content to be set to the annotation. |
|
inlinevirtual |
The date and time when the annotation was most recently modified.
date | a iText.Kernel.Pdf.PdfString with date. The format should be a date string as described in ISO-320001 7.9.4, "Dates". |
|
inlinevirtual |
Sets down appearance using PdfAnnotationAppearance wrapper.
Sets down appearance using PdfAnnotationAppearance wrapper. This method is used to set only appearance subdictionary. See GetDownAppearanceObject() and GetAppearanceDictionary() for more info.
appearance | an appearance subdictionary wrapped in PdfAnnotationAppearance. |
|
inlinevirtual |
Sets down appearance.
Sets down appearance. See GetDownAppearanceObject() and GetAppearanceDictionary() for more info.
appearance | an appearance object which might be either an appearance stream or an appearance subdictionary. |
|
inlinevirtual |
Sets a flag that specifies a characteristic of the annotation to enabled state (see ISO-320001 12.5.3, "Annotation Flags").
Sets a flag that specifies a characteristic of the annotation to enabled state (see ISO-320001 12.5.3, "Annotation Flags"). On the contrary from SetFlags(int) , this method sets only specified flags to enabled state, but doesn't disable other flags. Possible flags:
flag | - an integer interpreted as set of one-bit flags which will be enabled for this annotation. |
|
inlinevirtual |
Sets a set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags").
Sets a set of flags specifying various characteristics of the annotation (see ISO-320001 12.5.3, "Annotation Flags"). On the contrary from SetFlag(int) , this method sets a complete set of enabled and disabled flags at once. If not set specifically the default value is 0.
flags | an integer interpreted as set of one-bit flags specifying various characteristics of the annotation. |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. A language identifier overriding the document’s language identifier to specify the natural language for all text in the annotation except where overridden by other explicit language specifications
lang | language identifier |
|
inlinevirtual |
Sets the layer this annotation belongs to.
layer | the layer this annotation belongs to |
|
inlinevirtual |
Sets the annotation name, a text string uniquely identifying it among all the annotations on its page.
name | a iText.Kernel.Pdf.PdfString to be set as annotation name. |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. When regenerating the annotation's appearance stream, this is the opacity value that shall be used for all nonstroking operations on all visible elements of the annotation in its closed state (including its background and border) but not the popup window that appears when the annotation is opened.
nonStrokingOpacity | opacity for nonstroking operations |
|
inlinevirtual |
Sets normal appearance using PdfAnnotationAppearance wrapper.
Sets normal appearance using PdfAnnotationAppearance wrapper. This method is used to set only appearance subdictionary. See GetNormalAppearanceObject() and GetAppearanceDictionary() for more info.
appearance | an appearance subdictionary wrapped in PdfAnnotationAppearance. |
|
inlinevirtual |
Sets normal appearance.
Sets normal appearance. See GetNormalAppearanceObject() and GetAppearanceDictionary() for more info.
appearance | an appearance object which might be either an appearance stream or an appearance subdictionary. |
|
inlinevirtual |
Method that modifies annotation page property, which defines to which page annotation belongs.
Method that modifies annotation page property, which defines to which page annotation belongs. Keep in mind that this doesn't actually add an annotation to the page, it should be done via iText.Kernel.Pdf.PdfPage.AddAnnotation(PdfAnnotation). Also you don't need to set this property manually, this is done automatically on addition to the page.
page | the iText.Kernel.Pdf.PdfPage to which annotation will be added. |
|
inlinevirtual |
The annotation rectangle, defining the location of the annotation on the page in default user space units.
array | a iText.Kernel.Pdf.PdfArray which specifies a rectangle by two diagonally opposite corners. Typically, the array is of form [llx lly urx ury]. |
|
inlinevirtual |
Sets rollover appearance using PdfAnnotationAppearance wrapper.
Sets rollover appearance using PdfAnnotationAppearance wrapper. This method is used to set only appearance subdictionary. See GetRolloverAppearanceObject() and GetAppearanceDictionary() for more info.
appearance | an appearance subdictionary wrapped in PdfAnnotationAppearance. |
|
inlinevirtual |
Sets rollover appearance.
Sets rollover appearance. See GetRolloverAppearanceObject() and GetAppearanceDictionary() for more info.
appearance | an appearance object which might be either an appearance stream or an appearance subdictionary. |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. When regenerating the annotation's appearance stream, this is the opacity value that shall be used for stroking all visible elements of the annotation in its closed state, including its background and border, but not the popup window that appears when the annotation is opened.
strokingOpacity | opacity for stroking operations, including background and border |
|
inlinevirtual |
Sets he integer key of the annotation’s entry in the structural parent tree (see ISO-320001 14.7.4.4, "Finding Structure Elements from Content Items").
Sets he integer key of the annotation’s entry in the structural parent tree (see ISO-320001 14.7.4.4, "Finding Structure Elements from Content Items"). Note: Normally, there is no need to take care of this manually, struct parent index is set automatically if annotation is added to the tagged document's page.
structParentIndex | integer which is to be the key of the annotation's entry in structural parent tree. |
|
inlinevirtual |
Sets annotation title.
Sets annotation title. This property affects not all annotation types.
title | a iText.Kernel.Pdf.PdfString which value is to be annotation title. |
Annotation state.
Annotation state. See ISO-320001 12.5.6.3 "Annotation States" and Table 171 in particular. Also see PdfTextAnnotation.SetState(iText.Kernel.Pdf.PdfString).
|
static |
Annotation state.
Annotation state. See ISO-320001 12.5.6.3 "Annotation States" and Table 171 in particular. Also see PdfTextAnnotation.SetState(iText.Kernel.Pdf.PdfString).
|
static |
Annotation state.
Annotation state. See ISO-320001 12.5.6.3 "Annotation States" and Table 171 in particular. Also see PdfTextAnnotation.SetState(iText.Kernel.Pdf.PdfString).
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
|
static |
Widget annotation highlighting mode.
Widget annotation highlighting mode. See ISO-320001, Table 188 (H key). Also see PdfWidgetAnnotation.SetHighlightMode(iText.Kernel.Pdf.PdfName).
|
static |
Widget annotation highlighting mode.
Widget annotation highlighting mode. See ISO-320001, Table 188 (H key). Also see PdfWidgetAnnotation.SetHighlightMode(iText.Kernel.Pdf.PdfName).
|
static |
Widget annotation highlighting mode.
Widget annotation highlighting mode. See ISO-320001, Table 188 (H key). Also see PdfWidgetAnnotation.SetHighlightMode(iText.Kernel.Pdf.PdfName).
|
static |
Widget annotation highlighting mode.
Widget annotation highlighting mode. See ISO-320001, Table 188 (H key). Also see PdfWidgetAnnotation.SetHighlightMode(iText.Kernel.Pdf.PdfName).
|
static |
Widget annotation highlighting mode.
Widget annotation highlighting mode. See ISO-320001, Table 188 (H key). Also see PdfWidgetAnnotation.SetHighlightMode(iText.Kernel.Pdf.PdfName).
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
Annotation state.
Annotation state. See ISO-320001 12.5.6.3 "Annotation States" and Table 171 in particular. Also see PdfTextAnnotation.SetState(iText.Kernel.Pdf.PdfString).
|
static |
Annotation state model.
Annotation state model. See ISO-320001, Table 172 (StateModel key). Also see PdfTextAnnotation.SetStateModel(iText.Kernel.Pdf.PdfString).
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
Annotation state.
Annotation state. See ISO-320001 12.5.6.3 "Annotation States" and Table 171 in particular. Also see PdfTextAnnotation.SetState(iText.Kernel.Pdf.PdfString).
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.
Annotation state.
Annotation state. See ISO-320001 12.5.6.3 "Annotation States" and Table 171 in particular. Also see PdfTextAnnotation.SetState(iText.Kernel.Pdf.PdfString).
|
static |
Annotation state model.
Annotation state model. See ISO-320001, Table 172 (StateModel key). Also see PdfTextAnnotation.SetStateModel(iText.Kernel.Pdf.PdfString).
|
static |
Annotation border style.
Annotation border style. See ISO-320001, Table 166 (S key).
|
static |
Annotation border style.
Annotation border style. See ISO-320001, Table 166 (S key).
|
static |
Annotation border style.
Annotation border style. See ISO-320001, Table 166 (S key).
|
static |
Annotation border style.
Annotation border style. See ISO-320001, Table 166 (S key).
|
static |
Annotation border style.
Annotation border style. See ISO-320001, Table 166 (S key).
|
static |
Annotation flag.
Annotation flag. See also SetFlag(int) and ISO-320001, table 165.