1. Samuel Sanchez
  2. PowerBuilder
  3. Tuesday, 27 July 2021 22:23 PM UTC


Exploring the object WebBrowser i came out with a doubt


Is there a way to get coordinates of the cursor of a pdf/image that have been loaded with a webbrowser?

Something like, if cursor is in top of web browser, show up coordinates x,y of the cursor from the pdf?


Or is there another way to get specific coordinates x,y from images/pdf ?

Just like Paint does...

Thanks for your time...

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 27 July 2021 23:13 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Samuel;

  I have done this before by using ImageMagicK to convert the PDF into an image. Then load the image into a DataWindow. From there, use the mouse's location by using the MouseMove event to derive the X,Y.


Regards... Chris

There are no comments made yet.

There are replies in this question but you are not allowed to view the replies from this question.