Instance Property

pageNumber

Returns the page number of the specified PDF page.

Declaration

var pageNumber: Int { get }

Parameters

page

A PDF page.

Return Value

Returns the page number of the specified page.

See Also

Getting Page Information

func getBoxRect(CGPDFBox) -> CGRect

Returns the rectangle that represents a type of box for a content region or page dimensions of a PDF page.

var dictionary: CGPDFDictionaryRef?

Returns the dictionary of a PDF page.

var document: CGPDFDocument?

Returns the document for a page.

func getDrawingTransform(CGPDFBox, rect: CGRect, rotate: Int32, preserveAspectRatio: Bool) -> CGAffineTransform

Returns the affine transform that maps a box to a given rectangle on a PDF page.

var rotationAngle: Int32

Returns the rotation angle of a PDF page.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software