Search results

Identify added Annotation mode in JavaScript (ES5) PDF Viewer control

06 Jun 2023 / 1 minute to read

The PDF Viewer library allows you to identify whether the added annotations in PDF document is UI drawn, imported or existing annotation. Annotation mode can be identified using the annotationAddMode property of annotationSelect event.

Step 1: Follow the steps provided in the link to create simple PDF Viewer sample.

Step 2: The following code snippet explains how to identify added annotation mode.

Copied to clipboard
viewer.annotationSelect =(args) =>{

Find the Sample how to identify added annotation mode