On this page
Delete Annotations
Delete single/multiple annotations using the deleteAnnotations
method. Acceptable parameters:
- Single annotation object;
- A one-dimensional array composed of multiple annotation objects;
- Without passing parameters, all annotations in the current document will be deleted by default.
javascript
docViewer.deleteAnnotations(annotations);