Overview
The @vue-pdf-viewer/annotation plugin extends the capabilities of the Vue PDF Viewer (@vue-pdf-viewer/viewer) by adding comprehensive annotation features. It enables users to interact with PDF documents by creating, editing, and managing annotations directly within the viewer.
Key Features
- Text Selection Annotations – Annotate selected text with different styles:
- Highlight – Highlight selected text in different colors.
- Underline – Underline selected text with customizable colors.
- Strikethrough – Strike through selected text with customizable colors.
- Free Text Annotations – Add editable text boxes anywhere on the page.
- Image Overlay – Insert images anywhere on the page.
- Customizable Appearance – Configure colors, fonts, opacity, and stroke styles.
- Persistent Storage – Print the PDF with updated annotations or download it to save the annotations in a new PDF file for later use.
Supported Annotations
| Annotation | Description | Version |
|---|---|---|
| Text Selection | Annotate selected text using highlight, underline or strikethrough with different colors | 1.3.0 |
| Free Text | Add text content with different font sizes and colors | 1.0.0 |
| Image Overlay | Add images based on file size and type. Remark: Support apng, avif, bmp, gif, jpeg, png, svg+xml, webp and x-icon file types. | 1.0.0 |