Thank you very much. Excellent code ( public static bool GetPositionOnImage01)
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
I guess you talk about this answer over here? Your question title as well as your description is very confusing without context. Please when you ask questions, pick a proper title that represents your question. UA is a knowledge base for the whole community and not a private chat room :)
Answer by Brit1974 · Sep 19, 2020 at 09:08 PM
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.