Point.Subtract(Point, Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.