---
title: AttributeScopes.CoreTextAttributes.LineHeightAttribute
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/attributescopes/coretextattributes/lineheightattribute
---

# AttributeScopes.CoreTextAttributes.LineHeightAttribute

An attribute for defining the height of lines in a text.

## Declaration

```swift
@frozen enum LineHeightAttribute
```

## Overview

Overview important: Note that this attribute is not for usage with CoreText APIs directly, but exposed to give other frameworks common vocabulary to express the line height concept as defined by CoreText in Swift. For more details, see AttributeScopes.CoreTextAttributes.

## Relationships

### Conforms To

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [SendableMetatype](swift/sendablemetatype.md)
