rectForPage(at:)
Returns the area that encloses a specified page of content.
Declaration
func rectForPage(at pageIndex: Int) -> CGRectParameters
- pageIndex:
The index number of a page.
Return Value
A rectangle enclosing the content area for page pageIndex.
Discussion
Returns CGRectZero if the print formatter draws no content on the specified page.