|
iText 9.5.0 API
|
Public Member Functions |
|
| PdfTextMarkupAnnotation (Rectangle rect, PdfName subtype, float[] quadPoints) | |
| override PdfName | GetSubtype () |
| Gets a iText.Kernel.Pdf.PdfName which value is a subtype of this annotation. More... |
|
| virtual PdfArray | GetQuadPoints () |
| An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation | SetQuadPoints (PdfArray quadPoints) |
| Sets n quadrilaterals in default user space by passing an iText.Kernel.Pdf.PdfArray of 8 × n numbers. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.Annot.PdfMarkupAnnotation |
|
| virtual PdfString | GetText () |
| The text label that will be displayed in the title bar of the annotation's pop-up window when open and active. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetText (PdfString text) |
| Sets the text label that will be displayed in the title bar of the annotation's pop-up window when open and active. More... |
|
| virtual PdfNumber | GetOpacity () |
| The constant opacity value that will be used in painting the annotation. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetOpacity (PdfNumber ca) |
| Sets the constant opacity value that will be used in painting the annotation. More... |
|
| virtual PdfObject | GetRichText () |
| A rich text string (see ISO-320001 12.7.3.4, "Rich Text Strings") that shall be displayed in the pop-up window when the annotation is opened. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetRichText (PdfObject richText) |
| Sets a rich text string (see ISO-320001 12.7.3.4, "Rich Text Strings") that shall be displayed in the pop-up window when the annotation is opened. More... |
|
| virtual PdfString | GetCreationDate () |
| The date and time when the annotation was created. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetCreationDate (PdfString creationDate) |
| Sets the date and time when the annotation was created. More... |
|
| virtual PdfDictionary | GetInReplyToObject () |
| An annotation object that this annotation is "in reply to." Both annotations shall be on the same page of the document. More... |
|
| virtual PdfAnnotation | GetInReplyTo () |
| An annotation that this annotation is "in reply to." Both annotations shall be on the same page of the document. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetInReplyTo (PdfAnnotation inReplyTo) |
| Sets an annotation that this annotation is "in reply to." Both annotations shall be on the same page of the document. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetPopup (PdfPopupAnnotation popup) |
| Sets a pop-up annotation for entering or editing the text associated with this annotation. More... |
|
| virtual PdfDictionary | GetPopupObject () |
| An associated pop-up annotation object. More... |
|
| virtual PdfPopupAnnotation | GetPopup () |
| An associated pop-up annotation for entering or editing the text associated with this annotation. More... |
|
| virtual PdfString | GetSubject () |
| Text representing a short description of the subject being addressed by the annotation. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetSubject (PdfString subject) |
| Sets the text representing a short description of the subject being addressed by the annotation. More... |
|
| virtual PdfName | GetReplyType () |
| A name specifying the relationship (the "reply type") between this annotation and one specified by IRT entry (see GetInReplyTo() ). More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetReplyType (PdfName replyType) |
| Sets the relationship (the "reply type") between this annotation and one specified by IRT entry (see SetInReplyTo(PdfAnnotation) ). More... |
|
| virtual PdfName | GetIntent () |
| A name describing the intent of the markup annotation. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetIntent (PdfName intent) |
| Sets a name describing the intent of the markup annotation. More... |
|
| virtual PdfDictionary | GetExternalData () |
| An external data dictionary specifying data that shall be associated with the annotation. More... |
|
| virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation | SetExternalData (PdfDictionary exData) |
| Sets an external data dictionary specifying data that shall be associated with the annotation. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.Annot.PdfAnnotation |
|
| 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... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > |
|
| 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.PdfTextMarkupAnnotation | CreateHighLight (Rectangle rect, float[] quadPoints) |
| Creates a text markup annotation of highlight style subtype. More... |
|
| static iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation | CreateUnderline (Rectangle rect, float[] quadPoints) |
| Creates a text markup annotation of underline style subtype. More... |
|
| static iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation | CreateStrikeout (Rectangle rect, float[] quadPoints) |
| Creates a text markup annotation of strikeout style subtype. More... |
|
| static iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation | CreateSquiggly (Rectangle rect, float[] quadPoints) |
| Creates a text markup annotation of squiggly-underline type. More... |
|
Static Public Member Functions inherited from iText.Kernel.Pdf.Annot.PdfAnnotation |
|
| 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 |
|
| static readonly PdfName | MarkupHighlight = PdfName.Highlight |
| Subtypes More... |
|
| static readonly PdfName | MarkupUnderline = PdfName.Underline |
| static readonly PdfName | MarkupStrikeout = PdfName.StrikeOut |
| static readonly PdfName | MarkupSquiggly = PdfName.Squiggly |
Static Public Attributes inherited from iText.Kernel.Pdf.Annot.PdfAnnotation |
|
| 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... |
|
Package Functions |
|
| PdfTextMarkupAnnotation (PdfDictionary pdfObject) | |
| Instantiates a new PdfTextMarkupAnnotation instance based on iText.Kernel.Pdf.PdfDictionary instance, that represents existing annotation object in the document. More... |
|
Package Functions inherited from iText.Kernel.Pdf.Annot.PdfMarkupAnnotation |
|
| PdfMarkupAnnotation (Rectangle rect) | |
| PdfMarkupAnnotation (PdfDictionary pdfObject) | |
| Instantiates a new PdfMarkupAnnotation instance based on iText.Kernel.Pdf.PdfDictionary instance, that represents existing annotation object in the document. More... |
|
Package Functions inherited from iText.Kernel.Pdf.Annot.PdfAnnotation |
|
| PdfAnnotation (Rectangle rect) | |
| PdfAnnotation (PdfDictionary pdfObject) | |
| override bool | IsWrappedObjectMustBeIndirect () |
| Defines if the object behind this wrapper must be an indirect object in the resultant document. More... |
|
Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > |
|
| PdfObjectWrapper (T pdfObject) | |
| virtual void | SetPdfObject (T pdfObject) |
| virtual void | SetForbidRelease () |
| virtual void | UnsetForbidRelease () |
| virtual void | EnsureUnderlyingObjectHasIndirectReference () |
Additional Inherited Members |
|
Static Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > |
|
| static void | MarkObjectAsIndirect (PdfObject pdfObject) |
| static void | EnsureObjectIsAddedToDocument (PdfObject @object) |
Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More... |
|
Package Attributes inherited from iText.Kernel.Pdf.Annot.PdfMarkupAnnotation |
|
| PdfAnnotation | inReplyTo = null |
| PdfPopupAnnotation | popup = null |
Package Attributes inherited from iText.Kernel.Pdf.Annot.PdfAnnotation |
|
| PdfPage | page |
|
inlinepackage |
Instantiates a new PdfTextMarkupAnnotation instance based on iText.Kernel.Pdf.PdfDictionary instance, that represents existing annotation object in the document.
| pdfObject | the iText.Kernel.Pdf.PdfDictionary representing annotation object |
|
inlinestatic |
Creates a text markup annotation of highlight style subtype.
Creates a text markup annotation of highlight style subtype.
IMPORTANT NOTE on quadPoints argument: According to Table 179 in ISO 32000-1, the QuadPoints array lists the vertices in counterclockwise order and the text orientation is defined by the first and second vertex. This basically means QuadPoints is specified as lower-left, lower-right, top-right, top-left. HOWEVER, Adobe's interpretation (tested at least with Acrobat 10, Acrobat 11, Reader 11) is top-left, top-right, lower-left, lower-right (Z-shaped order). This means that if the QuadPoints array is specified according to the standard, the rendering is not as expected. Other viewers seem to follow Adobe's interpretation. Hence we recommend to use and expect QuadPoints array in Z-order, just as Acrobat and probably most other viewers expect.
| rect | the annotation rectangle, defining the location of the annotation on the page in default user space units. |
| quadPoints | An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The text is oriented with respect to the edge connecting first two vertices. |
|
inlinestatic |
Creates a text markup annotation of squiggly-underline type.
Creates a text markup annotation of squiggly-underline type.
IMPORTANT NOTE on quadPoints argument: According to Table 179 in ISO 32000-1, the QuadPoints array lists the vertices in counterclockwise order and the text orientation is defined by the first and second vertex. This basically means QuadPoints is specified as lower-left, lower-right, top-right, top-left. HOWEVER, Adobe's interpretation (tested at least with Acrobat 10, Acrobat 11, Reader 11) is top-left, top-right, lower-left, lower-right (Z-shaped order). This means that if the QuadPoints array is specified according to the standard, the rendering is not as expected. Other viewers seem to follow Adobe's interpretation. Hence we recommend to use and expect QuadPoints array in Z-order, just as Acrobat and probably most other viewers expect.
| rect | the annotation rectangle, defining the location of the annotation on the page in default user space units. |
| quadPoints | An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The text is oriented with respect to the edge connecting first two vertices. |
|
inlinestatic |
Creates a text markup annotation of strikeout style subtype.
Creates a text markup annotation of strikeout style subtype.
IMPORTANT NOTE on quadPoints argument: According to Table 179 in ISO 32000-1, the QuadPoints array lists the vertices in counterclockwise order and the text orientation is defined by the first and second vertex. This basically means QuadPoints is specified as lower-left, lower-right, top-right, top-left. HOWEVER, Adobe's interpretation (tested at least with Acrobat 10, Acrobat 11, Reader 11) is top-left, top-right, lower-left, lower-right (Z-shaped order). This means that if the QuadPoints array is specified according to the standard, the rendering is not as expected. Other viewers seem to follow Adobe's interpretation. Hence we recommend to use and expect QuadPoints array in Z-order, just as Acrobat and probably most other viewers expect.
| rect | the annotation rectangle, defining the location of the annotation on the page in default user space units. |
| quadPoints | An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The text is oriented with respect to the edge connecting first two vertices. |
|
inlinestatic |
Creates a text markup annotation of underline style subtype.
Creates a text markup annotation of underline style subtype.
IMPORTANT NOTE on quadPoints argument: According to Table 179 in ISO 32000-1, the QuadPoints array lists the vertices in counterclockwise order and the text orientation is defined by the first and second vertex. This basically means QuadPoints is specified as lower-left, lower-right, top-right, top-left. HOWEVER, Adobe's interpretation (tested at least with Acrobat 10, Acrobat 11, Reader 11) is top-left, top-right, lower-left, lower-right (Z-shaped order). This means that if the QuadPoints array is specified according to the standard, the rendering is not as expected. Other viewers seem to follow Adobe's interpretation. Hence we recommend to use and expect QuadPoints array in Z-order, just as Acrobat and probably most other viewers expect.
| rect | the annotation rectangle, defining the location of the annotation on the page in default user space units. |
| quadPoints | An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The text is oriented with respect to the edge connecting first two vertices. |
|
inlinevirtual |
An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space.
An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. Quadrilaterals are used to define a word or group of contiguous words in the text underlying the text markup annotation.
IMPORTANT NOTE: According to Table 179 in ISO 32000-1, the QuadPoints array lists the vertices in counterclockwise order and the text orientation is defined by the first and second vertex. This basically means QuadPoints is specified as lower-left, lower-right, top-right, top-left. HOWEVER, Adobe's interpretation (tested at least with Acrobat 10, Acrobat 11, Reader 11) is top-left, top-right, lower-left, lower-right (Z-shaped order). This means that if the QuadPoints array is specified according to the standard, the rendering is not as expected. Other viewers seem to follow Adobe's interpretation. Hence we recommend to use and expect QuadPoints array in Z-order, just as Acrobat and probably most other viewers expect.
|
inlinevirtual |
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.
Implements iText.Kernel.Pdf.Annot.PdfAnnotation.
|
inlinevirtual |
Sets n quadrilaterals in default user space by passing an iText.Kernel.Pdf.PdfArray of 8 × n numbers.
Sets n quadrilaterals in default user space by passing an iText.Kernel.Pdf.PdfArray of 8 × n numbers. Quadrilaterals are used to define a word or group of contiguous words in the text underlying the text markup annotation.
IMPORTANT NOTE: According to Table 179 in ISO 32000-1, the QuadPoints array lists the vertices in counterclockwise order and the text orientation is defined by the first and second vertex. This basically means QuadPoints is specified as lower-left, lower-right, top-right, top-left. HOWEVER, Adobe's interpretation (tested at least with Acrobat 10, Acrobat 11, Reader 11) is top-left, top-right, lower-left, lower-right (Z-shaped order). This means that if the QuadPoints array is specified according to the standard, the rendering is not as expected. Other viewers seem to follow Adobe's interpretation. Hence we recommend to use and expect QuadPoints array in Z-order, just as Acrobat and probably most other viewers expect.
| quadPoints | an iText.Kernel.Pdf.PdfArray of 8 × n numbers specifying the coordinates of n quadrilaterals. |
|
static |
Subtypes