page(at:)
Returns a page from a Core Graphics PDF document.
Declaration
func page(at pageNumber: Int) -> CGPDFPage?Parameters
- pageNumber:
The number of the page requested.
Return Value
Return the PDF page corresponding to the specified page number, or NULL if no such page exists in the document. Pages are numbered starting at 1.