In PDF.js Express Web Viewer annotations can be created both through the UI and programmatically.
Annotations allow users to mark up and comment on PDFs without altering the original authors content.
PDF.js Express Web Viewer SDK Benefits include:
- Export annotations to FDF, XFDF, text, or PDF annotation summary
- Sticky (Note)
- Comments
- Text markup (highlight, squiggly, underline, strikeout)
- Add shapes (line, arrow, polyline, rectangle, ellipse, polygon, cloud)
- Cloud annotations
- Apply freehand ink annotations
- Signatures
- Support for custom annotations
- FreeText, Callout
- TextHighlight, TextUnderline, TextSquiggly, TextStrikeout
- Stamp
Get started
Importing and exporting annotations
To import and export annotations with a PDF document.
Merge and extract annotations
To merge and extract annotations using PDF.js Express REST API
Creating annotations
To create annotations programmatically with a PDF document.
Creating custom annotations
To create custom annotations programmatically with a PDF document.
Annotation permissions
To control which users can modify which annotations.
Annotation events/triggers
To listen for annotation events and handle various callbacks.
Annotation tools
An introduction to annotation tools.
Custom annotation tools
To customize annotation tools for grouping, enable/disable, style changes, or behaviour enhancement
Default tool styles
To customize the default annotation style properties of tools.