---
title: "UnitType.Equals"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/unittype/equals/"
product: "Aspose.HTML for .NET API Reference"
description: "UnitType Equals method. Determines whether the specified Object is equal to this instance"
---

## Equals(*object*) {#equals_1}

Determines whether the specified Object, is equal to this instance.

```csharp
public override bool Equals(object obj)
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The Object to compare with this instance. |

### Return Value

`true` if the specified Object is equal to this instance; otherwise, `false`.

### See Also

* class [UnitType](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)

---

## Equals(*[UnitType](../)*) {#equals}

Determines whether the specified [`UnitType`](../), is equal to this instance.

```csharp
public bool Equals(UnitType other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | UnitType | The [`UnitType`](../) to compare with this instance. |

### Return Value

`true` if the specified [`UnitType`](../) is equal to this instance; otherwise, `false`.

### See Also

* class [UnitType](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
