Control.RectangleToClient(Rectangle) 方法
定义
计算指定屏幕矩形的大小和位置(以工作区坐标表示)。Computes the size and location of the specified screen rectangle in client coordinates.
public:
System::Drawing::Rectangle RectangleToClient(System::Drawing::Rectangle r);
public System.Drawing.Rectangle RectangleToClient (System.Drawing.Rectangle r);
member this.RectangleToClient : System.Drawing.Rectangle -> System.Drawing.Rectangle
Public Function RectangleToClient (r As Rectangle) As Rectangle
参数
返回
一个 Rectangle,表示转换后的 Rectangle、r
(以工作区坐标表示)。A Rectangle that represents the converted Rectangle, r
, in client coordinates.