Copy link to clipboard
Copied
Hi, I've been using the PDF Embed API and I'm having an issue highlighting text. I've confirmed that the code is good (I'm using the example code) and I've tried different PDF documents (all are working except those coming from the US Patent and Trademark Office). I've attached an example of a PDF that I can't highlight.
What am I missing? Also, if this type of PDF cannot be highlighted is there a way in the SDK to turn off the highlight button?
Thanks!
Matt
Copy link to clipboard
Copied
The PDF contains no text that can be highlighted. The pages are image only.
Copy link to clipboard
Copied
is it possible then to turn off the highlight button on the pdf embed viewer? Customers will be confused if they select it, but are unable to highlight...
Copy link to clipboard
Copied
Yes. You can set "showAnnotationTools" to false. See link to documentation below.
https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtos_ui/
Copy link to clipboard
Copied
Is there a way to only turn off the highlight button? The other options work fine.
Copy link to clipboard
Copied
Unfortunately, there is not.