Click here to Skip to main content
15,669,040 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I place a PictureBox inside a scrollable panel. SizeMode is Zoom. The PictureBox.Image is larger than PictureBox.Size. After rolling the scroll bar, given a specific point on screen, say Point(x,y), how to get the cooresponding image point coordinate for that screen point?



1 solution

By using the scroll positions and adding them to the mouse position.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900