rotatePage

open fun rotatePage(@IntRange(from = 0) pageIndex: Int, @IntRange(from = "-270", to = 270) rotation: Int): PdfProcessorTask

Rotates the selected page for passed degrees. The pages can only be rotated for 0, 90, 180 or 270.

Note: This call requires document editing feature in your license.

Return

Processor task describing the page processing progress.

Parameters

pageIndex

0-indexed page index of the page to be rotated.

rotation

Rotation in degrees. Positive number is clockwise rotation, negative is counter-clockwise. The value may only be 0, 90, 180 or 270.