Point::Add Method (Point, Size)
.NET Framework (current version)
Namespace:
System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Return to top
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- pt
-
Type:
System.Drawing::Point
The Point to add.
- sz
-
Type:
System.Drawing::Size
The Size to add
The following example shows how to use the Add method. To run this example, paste it into a Windows Form. Handle the form’s Paint event and call the AddPoint method from the Paint event-handling method, passing e as PaintEventArgs.
.NET Framework
Available since 2.0
Available since 2.0
Show: