FPDFPage_GetRotation function
Get the rotation of |page|.
page - handle to a page
Returns one of the following indicating the page rotation: 0 - No rotation. 1 - Rotated 90 degrees clockwise. 2 - Rotated 180 degrees clockwise. 3 - Rotated 270 degrees clockwise.
Or returns -1 on error.
Implementation
@ffi.Native<ffi.Int Function(FPDF_PAGE)>()
external int FPDFPage_GetRotation(FPDF_PAGE page);