Skip to main content
Participating Frequently
January 25, 2021
Question

PDF Embed Api - coordinates of the highlighted text

  • January 25, 2021
  • 1 reply
  • 1974 views

Hello,

 

Is there a way a to retreive the coordinates of the  highlighted text in the viewer. 

We are listening to AdobeDC.View.Enum.PDFAnalyticsEvents.TEXT_COPY and we wantto get the coordinates of the copied text.

 

The event parameter does not contain the coordinates details, is there a way like to execute a command and then get the coordinates of the highlighted text?

 

 

Thanks,

This topic has been closed for replies.

1 reply

Adobe Employee
January 25, 2021

Thanks for using PDF Embed API. If you are selecting the text in the viewer, you will receive an event (PREVIEW_SELECTION_END), which might help your cause.
Please visit https://www.adobe.io/apis/documentcloud/dcsdk/docs.html?view=view. You will get the required information under section Basic events.

Participating Frequently
January 26, 2021

Thanks