Instance Property

pageRange

Returns the range of pages associated with the print operation.

Declaration

var pageRange: NSRange { get }

Return Value

The range of page numbers. Page numbers are one-based values where the index of page one is 1, the index of page two is 2, and so on. Depending on the information returned by the printing view, the starting page number may not be 1. Also, if the number of pages being printed is not known, the page count may be set to NSIntegerMax.

See Also

Managing Page Information

var currentPage: Int

Returns the current page number being printed.

var pageOrder: NSPrintOperation.PageOrder

Sets the print order for the pages of the operation.