RectangleInequality Operator

Tests whether two Rectangle structures differ in location or size.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public static bool operator !=(
	Rectangle left,
	Rectangle right
)

Parameters

left
Type: System.DrawingRectangle
The Rectangle structure that is to the left of the inequality operator.
right
Type: System.DrawingRectangle
The Rectangle structure that is to the right of the inequality operator.

Return Value

Type: Boolean
This operator returns true if any of the X, Y, Width or Height properties of the two Rectangle structures are unequal; otherwise false.
See Also