Hi All,
I have a requirement to convert the mouse position in thepicture box control to the actual pixel position within the image. This must work when image layout is set to zoom, and handle when the image is zoomed in / out and panned within the control. If the mouse is moved outside of teh image but is still within the picture box then the X/Y coordinates would be set to -1, -1.
Is there any helper functions or sample code I can use to achieve this?I have a simple solution but this does not handle when the image is zoomed / panned.
Many thanks
Toby