## Font.Equals method

Indicates whether the specified object is a Font and has the same FontFamily, GdiVerticalFont, GdiCharSet, Style, Size, and Unit property values as this Font.

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

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

### Return Value

`true` if the obj parameter is a Font and has the same FontFamily, GdiVerticalFont, GdiCharSet, Style, Size, and Unit property values as this Font; otherwise, `false`.

### See Also

* class [Font](../)
* namespace [System.Drawing](../../font/)
* assembly [Aspose.Drawing](../../../)


