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.
我在pictureedit上有一个很大的形象。图像尺寸x = 2027 y = 851且图像尺寸x = 1320 y = 806。我想找到用于鼠标移动的图像坐标,但鼠标移动返回我的pictureedit坐标。
1 个解决方案
#1
1
You can use Control.PointToScreen(Point)
and Control.PointToClient(Point)
to switch between the global cordinate system and the local cordinate system.
您可以使用Control.PointToScreen(Point)和Control.PointToClient(Point)在全局坐标系统和本地坐标系统之间切换。
#1
1
You can use Control.PointToScreen(Point)
and Control.PointToClient(Point)
to switch between the global cordinate system and the local cordinate system.
您可以使用Control.PointToScreen(Point)和Control.PointToClient(Point)在全局坐标系统和本地坐标系统之间切换。