---
title: "exact(points:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/attributedstring/lineheight/exact(points:)"
---

# exact(points:)

Constant line height based on a fixed total.

## Declaration

```swift
static func exact(points: CGFloat) -> AttributedString.LineHeight
```

## Discussion

Discussion Defines the line height as the exact given total (in points), regardless of the effective ascent and descent of the fonts in use.
