DynaPDF.GetAscent
-----------------

Returns the ascender of the active font.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [5.0](newinversion50.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetAscent"; PDF ) 

**MBS**( **"DynaPDF.GetAscent";** /\* Returns the ascender of the active font. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns value or error.

### Description

Returns the ascender of the active font.   
The ascender is a typographic value that specifies the maximum extent to which characters rise above the baseline.   
See also [GetAscent](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetAscent.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetContent](DynaPDFGetContent.md)
- [DynaPDF.GetDescent](DynaPDFGetDescent.md)
- [DynaPDF.GetDocInfo](DynaPDFGetDocInfo.md)
- [DynaPDF.GetTabLen](DynaPDFGetTabLen.md)
- [DynaPDF.GetUserUnit](DynaPDFGetUserUnit.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetContent](DynaPDFSetContent.md)

This function checks for a license.

Created 6th February 2015 , last changed 6th February 2015

  
[DynaPDF.GetAnnotationsAsJSON](DynaPDFGetAnnotationsAsJSON.md) - [DynaPDF.GetBBox](DynaPDFGetBBox.md)

[HTML Version](DynaPDFGetAscent.shtml)