---
title: getAscent
framework: coretext
role: symbol
role_heading: Instance Property
path: coretext/ctrundelegatecallbacks/getascent
---

# getAscent

The callback invoked to request the run delegate to determine and return the typographic ascent of glyphs in the run. This callback may be NULL, which is equivalent to a getAscent callback that always returns 0.

## Declaration

```swift
var getAscent: CTRunDelegateGetAscentCallback
```

## See Also

### Instance Properties

- [dealloc](coretext/ctrundelegatecallbacks/dealloc.md)
- [getDescent](coretext/ctrundelegatecallbacks/getdescent.md)
- [getWidth](coretext/ctrundelegatecallbacks/getwidth.md)
- [version](coretext/ctrundelegatecallbacks/version.md)
