## Equals(object) {#equals_1}

Tests to see whether the specified object is a SizeF structure with the same dimensions as this SizeF structure.

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

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

### Return Value

This method returns `true` if obj is a SizeF and has the same width and height as this SizeF; otherwise, `false`.

### See Also

* struct [SizeF](../)
* namespace [Aspose.Drawing](../../sizef/)
* assembly [Aspose.Drawing.Common](../../../)

---

## Equals(SizeF) {#equals}

Tests whether other [`SizeF`](../) structure has the same size of this [`SizeF`](../) structure.

```csharp
public bool Equals(SizeF other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | SizeF | Other size to test |

### Return Value

This method returns `true` if other [`SizeF`](../) structure and its Width and Height properties are equal to the corresponding properties of this [`SizeF`](../) structure; otherwise, `false`.

### See Also

* struct [SizeF](../)
* namespace [Aspose.Drawing](../../sizef/)
* assembly [Aspose.Drawing.Common](../../../)


