CombinePDF_IsPageRotated(lPageNumber As Integer) As Boolean
Description
The CombinePDF_GetNumberOfPages and CombinePDF_IsPageRotated functions can be used to retrieve which pages were rotated by the CombinePDFPagesToDIB function, if the bAutoRotateToPortrait parameter of the CombinePDFPagesToDIB function was set to TRUE.
Parameters
Integer lPageNumber The 0 based index of the page.
Return value
TRUE if the page was rotated, FALSE otherwise.
Example
To retrieve which pages were rotated by CombinePDFPagesToDIB:
// The bAutoRotateToPortrait parameter must be set to true:
BiPDF.CombinePDFPagesToDIB(filename, password, xdpi, ydpi, true, flags);
int pages = BiPDF.CombinePDF_GetNumberOfPages();
for (int i = 0; i < pages; i++)
{
bool rotated = BiPDF.CombinePDF_IsPageRotated(i);
}