Instance Property

maximumContentHeight

The maximum height of the content area.

Declaration

var maximumContentHeight: CGFloat { get set }

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

var contentInsets: UIEdgeInsets

The distances the edges of content are inset from the printing rectangle.

Deprecated
var perPageContentInsets: UIEdgeInsets

The margins for each printed page.

var maximumContentWidth: CGFloat

The maximum width of the content area.