Overview
The annotation plugin exposes instance APIs that allow programmatic control of annotation tools. These are available on the viewer instance via defineExpose() and require the @vue-pdf-viewer/annotation plugin to be loaded.
| Name | Description | Type | Viewer Version | Annotation Version |
|---|---|---|---|---|
annotationFreeTextControl | Programmatic control of the free text annotation tool, including activation and font configuration | AnnotationFreeTextControl | ^4.2.0 | ^1.5.0 |
annotationTextSelectionControl | Programmatic control of text selection annotation tools (highlight, underline, strikethrough) | AnnotationTextSelectionControl | ^4.2.0 | ^1.5.0 |