## IFontMetrics::GetAscender method


Returns ascender for specific [Font](../../font/) size.

```cpp
virtual double Aspose::Font::IFontMetrics::GetAscender(double fontSize)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontSize | double | [Font](../../font/) size. |

### ReturnValue

Ascender value.

## See Also

* Class [IFontMetrics](../)
* Namespace [Aspose::Font](../../)
* Library [Aspose.Font for C++](../../../)
