-1

I am developing a chrome extension to extract a highlighted text from a PDF.

I there any way to accomplish this task using javascript? I am able to select text from HTML pages, however, I am not able to do the same from PDF files opened in the browser.

0

1 Answer 1

1

This is not possible, you have to convert the PDF file to a document (editable) before selecting the desired portion using slice(x, y) by JavaScript

Sign up to request clarification or add additional context in comments.

1 Comment

That technique would not be desirable for my use.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.