getPageRotation

Get the default rotation for an input page.
getPageRotation([in] LONG inputHandle, [in] int page, [out, retval] int *rot)
This function returns the default rotation, in degrees, of the specified page. The rotation will be one of: 0, 90, 180, or 270.

PDF pages can be rotated to landscape mode in two ways:

VB6:
rot = pdf.getPageRotation(in, pageNum)
VB.net:
rot = pdf.getPageRotation(in, pageNum)
getPageWidth
getPageHeight