---
title: "UnitType.op_Equality"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/unittype/op_equality/"
product: "Aspose.HTML for .NET API Reference"
description: "UnitType op_Equality method. Determines whether the two specified UnitType values are equal"
---

## UnitType Equality operator

Determines whether the two specified [`UnitType`](../) values are equal.

```csharp
public static bool operator ==(UnitType first, UnitType second)
```

| Parameter | Type | Description |
| --- | --- | --- |
| first | UnitType | The first [`UnitType`](../) value to compare. |
| second | UnitType | The second [`UnitType`](../) value to compare. |

### Return Value

`true` if the both [`UnitType`](../) are equal; otherwise, `false`.

### See Also

* class [UnitType](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
