pdfGetPageRotation

Get the default rotation for the specified page.
int pdfGetPageRotation(PDFHandle pdf, int page)
This function returns the default rotation angle for the specified page: 0, 90, 180, or 270 degrees.
C:
int rot; rot = pdfGetPageRotation(pdf, pageNum);