Interface: TextMarkupAnnotationOptions
Interface representing options for text markup annotations.
This interface extends MarkupAnnotationOptions and provides additional properties specific to text markup annotations, such as the marked area, annotation subtype, and fill color.
Extends
Properties
author?
optionalauthor:string
Inherited from
MarkupAnnotationOptions.author
blendMode?
optionalblendMode:BlendMode
Experimental
blend mode
Inherited from
MarkupAnnotationOptions.blendMode
boundingBox?
optionalboundingBox:Rectangle<PdfPoint>
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.
Default Value
null
Inherited from
MarkupAnnotationOptions.boundingBox
content?
optionalcontent:string
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.
Default Value
""
Inherited from
MarkupAnnotationOptions.content
dateModified?
optionaldateModified:Date
The date and time when the annotation was most recently modified.
Inherited from
MarkupAnnotationOptions.dateModified
fillColor?
optionalfillColor:RgbColor
The color used to fill the marked-up area.
opacity?
optionalopacity:number
Experimental
annotation opacity
Inherited from
MarkupAnnotationOptions.opacity
page
page:
Page
Page in which the annotation is embedded.
Inherited from
privateData?
optionalprivateData:object
Custom data to be stored with the annotation
Default Value
undefined
Inherited from
MarkupAnnotationOptions.privateData
renderProperties?
optionalrenderProperties:AnnotationRenderProperties
The AnnotationRenderProperties class encapsulates the rendering properties of a PDF annotation,
providing a set of flags that control its rendering behaviors.
Inherited from
MarkupAnnotationOptions.renderProperties
subject?
optionalsubject:string
Inherited from
MarkupAnnotationOptions.subject
subtype?
optionalsubtype:TextMarkupType
Specifies the subtype of text markup annotation. Determines how the text is visually marked, such as highlight, underline, strikethrough, squiggly, or redact.
textMarkupArea?
optionaltextMarkupArea:Quadrilateral<PdfPoint>[]
An array of quadrilateral regions defining the marked-up text area. Each quadrilateral represents a portion of the text affected by the annotation.