PointF::Add Method (PointF, SizeF)
.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::PointF
The PointF to translate.
- sz
-
Type:
System.Drawing::SizeF
The SizeF that specifies the numbers to add to the coordinates of pt.
The following code example demonstrates how to use the Add method. To run this example, paste the following code into a Windows Form. Handle the form's Paint event and call AddExample, passing e as PaintEventArgs.
.NET Framework
Available since 2.0
Available since 2.0
Show: