Search results

Get the overlapped annotations on mouse click

08 May 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