## Rectangle Equality operator

Tests whether two [`Rectangle`](../../rectangle) structures have equal location and 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 equality operator. |
| right | Rectangle | The [`Rectangle`](../../rectangle) structure that is to the right of the equality operator. |

### Return Value

This operator returns true if the two [`Rectangle`](../../rectangle) structures have equal [`X`](../x), [`Y`](../y), [`Width`](../width), and [`Height`](../height) properties.

### See Also

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

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