Interface: ParagraphHighlightAnnotation
Highlight a substring of a paragraph.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
color? | readonly | PdfColor | Fill color of the highlight rectangle. |
match | readonly | string | Substring to locate in the rendered paragraph text. |
occurrence? | readonly | number | Zero-based occurrence index to annotate; defaults to every occurrence. |
padding? | readonly | number | { bottom?: number; left?: number; right?: number; top?: number; } | Extra padding in points added around the rect on each side. Defaults to 2 above/below, 0 left/right. |
tag? | readonly | "Annot" | "Artifact" | Structure tag override for the highlight annotation. |
type | readonly | "highlight" | - |