## Size.Equals method

Tests to see whether the specified object is a [`Size`](../) with the same dimensions as this [`Size`](../).

```csharp
public override bool Equals(object obj)
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The Object to test. |

### Return Value

True if *obj* is a [`Size`](../) and has the same width and height as this [`Size`](../); otherwise, false.

### See Also

* struct [Size](../)
* namespace [Aspose.Imaging](../../size/)
* assembly [Aspose.Imaging](../../../)


