Thank you very much. Excellent code ( public static bool GetPositionOnImage01)

@Brit1974

Your code finding the click position related to an image between (0,0) - (1,1) is excellent. I used to allow user to create hotspots in any given image.

Do you have a reverse code converting the above coordinates back in to regular mouseposition.x, mouse postion.y ??

Kindly advise…
Thank you in advance

If you’re looking for the screen coordinates, I think those are the values you’re passing in as the third parameter of the GetPositionOnImage01 method. Unless you mean that you don’t have those values, and you want to know the screen-location of any arbitrary location on the image. I don’t think I have that calculation.