CombinePDF_SetRotateAllPages

 

CombinePDF_SetRotateAllPages(bRotate As Boolean)

 

Description

The CombinePDF_SetRotatePage and CombinePDF_SetRotateAllPages functions can be used to specify which pages should be rotated by the CombinePDFPagesToDIB function, if the bAutoRotateToPortrait parameter of the CombinePDFPagesToDIB function is set to FALSE.

 

Parameters

 

Boolean

bRotate

TRUE: rotate the pages, FALSE: do not rotate the pages.

 

 

Pages are rotated 90 degrees clockwise.

 

Return value

None

 

Example

To rotate all pages in the document except the first and second pages:

 

BiPDF.CombinePDF_SetRotateAllPages(true);

BiPDF.CombinePDF_SetRotatePage(0, false);

BiPDF.CombinePDF_SetRotatePage(1, false);

// The bAutoRotateToPortrait parameter must be set to false:

BiPDF.CombinePDFPagesToDIB(filename, password, xdpi, ydpi, false, flags);