Instance Property

printFormatters

The print formatters associated with the page renderer.

Declaration

var printFormatters: [UIPrintFormatter]? { get set }

Discussion

The elements of the array are UIPrintFormatter objects. A print formatter can be an instance of UISimpleTextPrintFormatter, UIMarkupTextPrintFormatter, or UIViewPrintFormatter. Print formatters added this way to a page renderer are associated with page ranges through each print formatter’s startPage and pageCount properties.

See Also

Managing Print Formatters

func addPrintFormatter(UIPrintFormatter, startingAtPageAt: Int)

Adds a print formatter to the page renderer starting at the specified page.

func printFormattersForPage(at: Int) -> [UIPrintFormatter]?

Returns the print formatters associated with a specified page.