## Rectangle Inequality operator

Tests whether two [`Rectangle`](../../rectangle) structures differ in location or size.

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

| Parameter | Type | Description |
| --- | --- | --- |
| left | Rectangle | The [`Rectangle`](../../rectangle) structure that is to the left of the inequality operator. |
| right | Rectangle | The [`Rectangle`](../../rectangle) structure that is to the right of the inequality operator. |

### Return Value

This operator returns true if any of the [`X`](../x), [`Y`](../y), [`Width`](../width) or [`Height`](../height) properties of the two [`Rectangle`](../../rectangle) structures are unequal; otherwise false.

### See Also

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

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
