Function

CGPDFPageGetRotationAngle

Returns the rotation angle of a PDF page.

Declaration

int CGPDFPageGetRotationAngle(CGPDFPageRef page);

Parameters

page

A PDF page.

Return Value

The rotation angle (in degrees) of the specified page. This is the value of the /Rotate entry in the page’s dictionary.

See Also

Getting Page Information

CGPDFPageGetBoxRect

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

CGPDFPageGetDictionary

Returns the dictionary of a PDF page.

CGPDFPageGetDocument

Returns the document for a page.

CGPDFPageGetDrawingTransform

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

CGPDFPageGetPageNumber

Returns the page number of the specified 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