---
title: "FontFamily.GetEmHeight"
url: "https://reference.aspose.com/drawing/net/system.drawing/fontfamily/getemheight/"
product: "Aspose.Drawing for .NET API Reference"
description: "FontFamily method. Gets the height in font design units of the EM square for the specified style"
---

## FontFamily.GetEmHeight method

Gets the height, in font design units, of the EM square for the specified style.

```csharp
public int GetEmHeight(FontStyle style)
```

| Parameter | Type | Description |
| --- | --- | --- |
| style | FontStyle | The FontStyle for which to get the EM height. |

### Return Value

The height of the EM square.

### See Also

* enum [FontStyle](../../fontstyle/)
* class [FontFamily](../)
* namespace [System.Drawing](../../fontfamily/)
* assembly [Aspose.Drawing](../../../)


