FPDFPage_GetRotation method

int FPDFPage_GetRotation(
  1. FPDF_PAGE page
)

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

int FPDFPage_GetRotation(FPDF_PAGE page) {
  return _FPDFPage_GetRotation(page);
}