0

i am searching for a tool where i can view a PDF Document and than have a text and add this text via drag and drop.

i don t need to update the pdf directly in angular (have also a java backend) but i need the coordinates where the drag and drop element is.

Hope you can help me, thank you

1 Answers1

0

You can get coordinates of mouse on mouse move event properties pageX and pageY

https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent

Javascript - Track mouse position

Alexander
  • 59
  • 5