Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I am using pdf.js to render pdf document. How to detect when a mouse is over an image?

  • No replies
  • 1 has this problem
  • 6 views
more options

Hi,

i want to change the cursor pro grammatically whenever we move the pointer over an image on a pdf document rendered on the browser. I am using pdf.js to render the pdf document.

I would like to know is there any api exists in pdf.js this will take the x and y coordinates and return whether any image was drawn on the specified x and y coordinates?

Thanks Suresh K

Hi, i want to change the cursor pro grammatically whenever we move the pointer over an image on a pdf document rendered on the browser. I am using pdf.js to render the pdf document. I would like to know is there any api exists in pdf.js this will take the x and y coordinates and return whether any image was drawn on the specified x and y coordinates? Thanks Suresh K