---
title: CTFontGetTypeID()
framework: coretext
role: symbol
role_heading: Function
path: coretext/ctfontgettypeid()
---

# CTFontGetTypeID()

Returns the type identifier for Core Text font references.

## Declaration

```swift
func CTFontGetTypeID() -> CFTypeID
```

## Return Value

Return Value The identifier for the CTFont opaque type.
