Control.RectangleToClient(Rectangle) Control.RectangleToClient(Rectangle) Control.RectangleToClient(Rectangle) Control.RectangleToClient(Rectangle) Method

定義

以工作區座標計算指定的螢幕矩形大小和位置。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

參數

r
Rectangle Rectangle Rectangle Rectangle

要轉換的螢幕座標 RectangleThe screen coordinate Rectangle to convert.

傳回

Rectangle,以工作區座標表示的轉換後 Rectangle (r)。A Rectangle that represents the converted Rectangle, r, in client coordinates.

適用於

另請參閱