Implemented by subclasses to determine the portion of the view to be printed for the specified page number.
- macOS 10.0+
An integer indicating a page number. Page numbers are one-based—that is pages run from one to N.
A rectangle defining the region of the view to be printed for
page. This method returns
page is outside the view’s bounds.
If the view responded
true to an earlier
knows message, this method is invoked for each page it specified in the out parameters of that message. The view is later made to display this rectangle in order to generate the image for this page.
NSView object responds
knows, this method isn’t invoked by the printing mechanism.