Search results

Get the overlapped annotations on mouse click

02 Feb 2023 / 1 minute to read

To get the overlapped annotations on a mouse click in a Syncfusion PDF Viewer, you can use the annotationCollection property of annotationSelect event.This event is triggered when the user clicks on an annotation in the PDF document.

Here is an example of how you can use the annotationSelect event to get the overlapped annotations on a mouse click in a Syncfusion PDF Viewer:

Copied to clipboard
// Get overlapped annotation collections.
viewer.annotationSelect =(args) =>{
  console.log(args.annotationCollection);
}

Find the sample how to get the overlapped annotations on mouse click