原点相对于屏幕的位置因指定的是屏幕坐标还是工作区坐标而异。
The location of the origin, relative to the screen, will vary depending on whether you are specifying screen or client coordinates.
由于工作区坐标是相对于控件工作区的左上角而言的,所以该属性所返回的矩形的左上角坐标是(0,0)。
Because client coordinates are relative to the upper-left corner of the client area of the control, the coordinates of the upper-left corner of the rectangle returned by this property are (0, 0).
当在工作区中移动鼠标指针时,这些线会跟随着它,使您随时可以知道当前位置的精确坐标。
These follow your mouse pointer as you move it around the workplace, letting you know the exact coordinate of your current position at all times.
请注意,页面坐标空间的原点在工作区的左上角,情况将总是如此。
Note that the page coordinate space has its origin at the upper-left corner of the client area; this will always be the case.
请注意,页面坐标空间的原点在工作区的左上角,情况将总是如此。
Note that the page coordinate space has its origin at the upper-left corner of the client area; this will always be the case.
应用推荐