## LengthOrAuto.Equals method

Determines whether the specified [`Unit`](../../unit/), is equal to this instance.

```java
public bool Equals(Unit other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | Unit | The [`Unit`](../../unit/) to compare with this instance. |

### Return Value

`true` if the specified [`Unit`](../../unit/) is equal to this instance; otherwise, `false`.

### See Also

* class [Unit](../../unit/)
* class [LengthOrAuto](../)
* package [com.aspose.html.drawing](../../../com.aspose.html.drawing/)
* package [Aspose.HTML](../../../)
