PointF::Equality Operator (PointF, PointF)
.NET Framework (current version)
Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- left
-
Type:
System.Drawing::PointF
A PointF to compare.
- right
-
Type:
System.Drawing::PointF
A PointF to compare.
Return Value
Type: System::Booleantrue if the X and Y values of the left and right PointF structures are equal; otherwise, false.
The following code example demonstrates how to use the Equality operator. To run this example, paste the following code into a Windows Form. Handle the form's Paint event and call opAdditionExample, passing e as PaintEventArgs.
.NET Framework
Available since 1.1
Available since 1.1
Show: