Skip to content

zeropdf v1.3.0


zeropdf / ParagraphNoteAnnotation

Interface: ParagraphNoteAnnotation

Defined in: src/types.ts:1503

Attach a sticky-note annotation anchored to a substring.

Properties

PropertyModifierTypeDescriptionDefined in
anchor?readonly"before" | "after"Icon anchor relative to the matched text. Defaults to "before".src/types.ts:1514
contentsreadonlystringContents of the note.src/types.ts:1510
matchreadonlystringSubstring to locate in the rendered paragraph text.src/types.ts:1506
occurrence?readonlynumberZero-based occurrence index to annotate; defaults to every occurrence.src/types.ts:1508
open?readonlybooleanWhether the note pops open by default.src/types.ts:1512
size?readonlynumberNote icon size in points. Defaults to fontSize + 4.src/types.ts:1516
tag?readonly"Annot" | "Artifact"Structure tag override.src/types.ts:1518
typereadonly"note"-src/types.ts:1504

Released under the ISC license.