TextHighlightAnnotation do not highlight text from different pages, only when text is selected from view mode, the group ungroup pops and annotation can be created on both pages

Hi ons.othmen,

Thanks for contacting pdf.js express forums,

This is not possible, due to the PDF Specfication.
You can read about the related forum post here:Draw one line between mulitple pages

You do have the option to select using the tool’s API:
https://pdfjs.express/api/Core.Tools.TextHighlightCreateTool.html#select

Best Regards,
Kevin Kim


Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here