Select multi page annotation in EJ2 TypeScript Pdfviewer control

8 May 20231 minute to read

To select a multi-page TextMarkup annotation as a single annotation in a Syncfusion PDF viewer, you can use by enabling the enableMultiPageAnnotation property. By default it is false.

Here is an example of how you can use the enableMultiPageAnnotation property to select the multi page TextMarkup annotation as a single annotation, export and import multi page annotation:

// Enable multi-page TextMarkup Annotation.
viewer.enableMultiPageAnnotation = true;

// Export Annotation
document.getElementById('export').addEventListener('click', () => {

// Import Annotation.
document.getElementById('import').addEventListener('click', () => {
  viewer.importAnnotation("Add Export annotation file content");

Find the sample how to select multi-page TextMarkup annotation as single annotation