addPageRotated

Add a page from an input PDF file to an output PDF file, with a rotation.
addPageRotated([in] LONG inputHandle, [in] int pageNum, [in] int rotation, [in] LONG outputHandle)
This function copies one page, given by pageNum, from an input PDF file, in, and appends it to an output PDF file, out.

The new page will be rotated by rotation degrees clockwise (relative to its appearance in the input PDF file). Rotations of 0, 90, 180, and 270 degrees are allowed.

VB6:
Dim in as Long, out as Long in = pdf.openInput "c:/test/input.pdf" out = pdf.openOutput "c:/test/output.pdf" ' append page 3 of input.pdf to output.pdf, with a 90-degree rotation pdf.addPageRotated in, 3, 90, out
VB.net:
Dim in as Long, out as Long in = pdf.openInput("c:/test/input.pdf") out = pdf.openOutput("c:/test/output.pdf") ' append page 3 of input.pdf to output.pdf, with a 90-degree rotation pdf.addPageRotated(in, 3, 90, out)
addPage
addPageRotatedCropped
addPages