javascript - Find position of highlighted text in pdf loaded in web page -


i'm trying have little idea of how achieve it. namely, i' trying capture index of in pdf document (loaded on web page) user's mouse clicked , released.

example:

"this great placeholding text serves example" 

say user highlights substring "great placeholding text", how can capture:

  • the content of highlighted text, in example "great placeholding text"

  • the index @ mouse pressed , released

in essence i'm trying allow users highlight , save parts of pdf document (as position of portion of text have saved) later reference.

any ideas much appreciated, all!


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -