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.