---
title: maximumContentHeight
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiprintformatter/maximumcontentheight
---

# maximumContentHeight

The maximum height of the content area.

## Declaration

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

## Discussion

Discussion UIPrintFormatter uses this value to determine where the content rectangle begins on the first page. It compares the value of this property with the printing rectangle’s height minus the header and footer heights and the top inset value (of contentInsets); it uses the lower of the two values. The default value of this property is the maximum float value.

## See Also

### Laying out the content

- [perPageContentInsets](uikit/uiprintformatter/perpagecontentinsets.md)
- [maximumContentWidth](uikit/uiprintformatter/maximumcontentwidth.md)
- [contentInsets](uikit/uiprintformatter/contentinsets.md)
