StylusPoint.Inequality Operator (StylusPoint, StylusPoint)
Returns a Boolean value which indicates whether the specified StylusPoint objects are unequal.
Assembly: PresentationCore (in PresentationCore.dll)
The following example demonstrates how to check two StylusPoint objects for inequality. Because the X, Y, and PressureFactor properties on point1 and point2 are set to the same value, the "The two StylusPoint objects are equal." Message appears.
StylusPoint point1 = new StylusPoint(); StylusPoint point2 = new StylusPoint(); point1.X = 150; point1.Y = 400; point1.PressureFactor = 0.45f; point2.X = 150; point2.Y = 400; point2.PressureFactor = 0.45f;
Available since 3.0