Select multi-page annotations in ASP.NET Core PDF Viewer
28 Feb 20261 minute to read
The Syncfusion® ASP.NET Core PDF Viewer allows you to treat TextMarkup annotations that span multiple pages as a single, unified annotation entity. This feature simplifies the interaction, selection, and management of highlights or underlines that cross page boundaries.
Enable multi-page selection
Set the enableMultiPageAnnotation property to true to activate this behavior. When enabled, selecting any part of the multi-page annotation highlights the entire sequence across all pages. You can also export and import these unified annotations as a single record.
The following example demonstrates how to configure the enableMultiPageAnnotation property in both standalone and server-backed viewer setups.
<div style="width:100%;height:600px">
<ejs-pdfviewer id="pdfviewer"
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
enableMultiPageAnnotation=true>
</ejs-pdfviewer>
</div><div style="width:100%;height:600px">
<ejs-pdfviewer id="pdfviewer"
serviceUrl='/Index'
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
enableMultiPageAnnotation=true>
</ejs-pdfviewer>
</div>