---
title: maximumLineHeight
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nsmutableparagraphstyle/maximumlineheight
---

# maximumLineHeight

The paragraph’s maximum line height.

## Declaration

```swift
var maximumLineHeight: CGFloat { get set }
```

## Discussion

Discussion This property contains the maximum height in points that any line in the receiver will occupy, regardless of the font size or size of any attached graphic. This value is always nonnegative. The default value is 0. Glyphs and graphics exceeding this height will overlap neighboring lines; however, a maximum height of 0 implies no line height limit. Although this limit applies to the line itself, line spacing adds extra space between adjacent lines.

## See Also

### Setting style information

- [setParagraphStyle(_:)](uikit/nsmutableparagraphstyle/setparagraphstyle(_:).md)
- [alignment](uikit/nsmutableparagraphstyle/alignment.md)
- [firstLineHeadIndent](uikit/nsmutableparagraphstyle/firstlineheadindent.md)
- [headIndent](uikit/nsmutableparagraphstyle/headindent.md)
- [tailIndent](uikit/nsmutableparagraphstyle/tailindent.md)
- [lineHeightMultiple](uikit/nsmutableparagraphstyle/lineheightmultiple.md)
- [minimumLineHeight](uikit/nsmutableparagraphstyle/minimumlineheight.md)
- [lineSpacing](uikit/nsmutableparagraphstyle/linespacing.md)
- [paragraphSpacing](uikit/nsmutableparagraphstyle/paragraphspacing.md)
- [paragraphSpacingBefore](uikit/nsmutableparagraphstyle/paragraphspacingbefore.md)
- [baseWritingDirection](uikit/nsmutableparagraphstyle/basewritingdirection.md)
