## Rectangle Inequality operator

Tests whether two Rectangle structures differ in location or size.

```csharp
public static bool operator !=(Rectangle left, Rectangle right)
```

| Parameter | Type | Description |
| --- | --- | --- |
| left | Rectangle | The Rectangle structure that is to the left of the inequality operator. |
| right | Rectangle | The Rectangle structure that is to the right of the inequality operator. |

### Return Value

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

* struct [Rectangle](../)
* namespace [Aspose.Drawing](../../rectangle/)
* assembly [Aspose.Drawing.Common](../../../)


