Class: TextMarkupAnnotation
Experimental
Base class for text markup annotations
Extends
Constructors
new TextMarkupAnnotation()
new TextMarkupAnnotation(
options
):TextMarkupAnnotation
Experimental
Parameters
• options: TextMarkupAnnotationOptions
Options used to initialize annotation.
Returns
Overrides
Accessors
__annotation
get
__annotation():TextMarkupAnnotation
Experimental
set
__annotation(v
):void
Experimental
Parameters
• v: TextMarkupAnnotation
Returns
TextMarkupAnnotation
Overrides
author
get
author():string
Experimental
The author.
set
author(author
):void
Experimental
Parameters
• author: string
Returns
string
Inherited from
blendMode
get
blendMode():BlendMode
Experimental
blend mode
set
blendMode(blendMode
):void
Experimental
Parameters
• blendMode: BlendMode
Returns
Inherited from
boundingBox
get
boundingBox():Rectangle
<PdfPoint
>
Experimental
Represents the bounding box of the annotation, which defines its position and size on the page.
The bounding box is specified as a Rectangle
of PdfPoint
coordinates.
set
boundingBox(rectangle
):void
Experimental
Parameters
• rectangle: Rectangle
<PdfPoint
>
Returns
Rectangle
<PdfPoint
>
Inherited from
content
get
content():string
Experimental
Text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternative description of the annotation’s contents in human-readable form.
set
content(content
):void
Experimental
Parameters
• content: string
Returns
string
Inherited from
dateCreated
get
dateCreated():void
Experimental
Date and time the annotation was created.
Returns
void
Inherited from
dateModified
get
dateModified():Date
Experimental
The date and time when the annotation was most recently modified.
set
dateModified(date
):void
Experimental
Parameters
• date: Date
Returns
Date
Inherited from
fillColor
get
fillColor():RgbColor
Experimental
Retrieves the fill color used in the annotation.
set
fillColor(v
):void
Experimental
Sets the fill color for the annotation.
Parameters
• v: RgbColor
The new RgbColor to apply to the annotation.
Returns
The RgbColor representing the annotation's fill color.
hasChanges
get
hasChanges():boolean
Experimental
Indicates if the annotation has been changed since the document was opened
Returns
boolean
Inherited from
hidden
get
hidden():boolean
Experimental
If set to true, the annotation will not be displayed or printed, and it will not allow interaction with the user.
set
hidden(hidden
):void
Experimental
Parameters
• hidden: boolean
Returns
boolean
Inherited from
id
get
id():void
Experimental
A unique identifier for the annotation.
Returns
void
Inherited from
interactive
get
interactive():boolean
Experimental
Specifies whether the annotation allows user interaction.
set
interactive(interactive
):void
Experimental
Parameters
• interactive: boolean
Returns
boolean
Inherited from
isAdded
get
isAdded():boolean
Experimental
Indicates whether the annotation was added to a page
Returns
boolean
Inherited from
isMaintainingAspectRatio
get
isMaintainingAspectRatio():boolean
Experimental
Indicates if the annotation is maintaining its aspect ratio
Returns
boolean
Overrides
MarkupAnnotation
.isMaintainingAspectRatio
isMarkupAnnotation
get
isMarkupAnnotation():boolean
Experimental
Indicates if the annotation is a markup annotation
Returns
boolean
Inherited from
MarkupAnnotation
.isMarkupAnnotation
isModified
get
isModified():boolean
Experimental
Indicates if the annotation has changes that have not yet been saved to the document
Returns
boolean
Inherited from
isMoveable
get
isMoveable():boolean
Experimental
Indicates if the annotation can be moved by the user
Returns
boolean
Overrides
isResizable
get
isResizable():boolean
Experimental
Indicates if the annotation can be resized by the user
Returns
boolean
Overrides
isRotatable
get
isRotatable():boolean
Experimental
Indicates if the annotation can be rotated by the user
Returns
boolean
Overrides
isSelectable
get
isSelectable():boolean
Experimental
Indicates if the annotation can be selected by the user
Returns
boolean
Overrides
isWidgetAnnotation
get
isWidgetAnnotation():boolean
Experimental
Indicates if the annotation is a widget annotation
Returns
boolean
Inherited from
MarkupAnnotation
.isWidgetAnnotation
locked
get
locked():AnnotationLockedState
Experimental
Represents the locked state of the annotation.
set
locked(locked
):void
Experimental