<< Click to Display Table of Contents >> Navigation: Functions > PXCV_GetPageRotation |
PXCV_GetPageRotation retrieves the rotation angle of pages. The angle is always a multiple of ninety degrees.
HRESULT PXCV_GetPageRotation(
PXVDocument Doc,
DWORD page_num,
LONG* angle
);
Doc
[in] Specifies a document that PXCV_Init created.
page_num
[in] Specifies the zero-based page number from which to retrieve rotation information.
angle
[out] Pointer to the LONG variable that receives the rotation angle. Possible results are:
•0 - no rotation.
•90 - page is rotated ninety degrees clockwise.
•180 - page is rotated one hundred and eighty degrees.
•270 - page is rotated ninety degrees counter-clockwise.
Please note that all functions and parameters are case-sensitive.
If the function fails then the return value is an error code.
If the function succeeds then the return value is DS_OK, or a different value that isn't an error code.