user3190534
user3190534

Reputation: 1

Image mouse move coordinates it returns picture-edit coordinates

I have a big image on pictureedit. Image size x=2027 y=851 and pictureedit size x=1320 y=806. I want find image coordinates used to mouse move, but mouse move return me pictureedit coordinates.

Upvotes: 0

Views: 222

Answers (1)

Swift
Swift

Reputation: 1881

You can use Control.PointToScreen(Point) and Control.PointToClient(Point) to switch between the global cordinate system and the local cordinate system.

Upvotes: 1

Related Questions