Search results

Select multi-page TextMarkup annotation as single annotation

06 Jun 2023 / 1 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:

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

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

// 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