Breyta

Deila með


Point.Subtract(Point, Size) Method

Definition

Returns the result of subtracting specified Size from the specified Point.

public:
 static System::Drawing::Point Subtract(System::Drawing::Point pt, System::Drawing::Size sz);
public static System.Drawing.Point Subtract (System.Drawing.Point pt, System.Drawing.Size sz);
static member Subtract : System.Drawing.Point * System.Drawing.Size -> System.Drawing.Point
Public Shared Function Subtract (pt As Point, sz As Size) As Point

Parameters

pt
Point

The Point to be subtracted from.

sz
Size

The Size to subtract from the Point.

Returns

The Point that is the result of the subtraction operation.

Remarks

The Subtract subtracts the Width and Height of the specified Size from the X and Y values of the specified point.

Applies to

See also