12-15 -pageRotate: Page Rotation

Processing

Rotates the specified page of the input PDF.

Example of commands

[Executing example commands]

Rotates the 3rd page of test.pdf by 90 degrees, rotates the 12th page by 180 degrees, and outputs it as out.pdf.

[Windows]

AHPDFToolCmd80.exe -pageRotate 2 90 -pageRotate 11 180 -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -pageRotate 2 90 -pageRotate 11 180 -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

Folder settings: not applied

Parameters

Parameter

Content

<page>

[Required]

Sets the page number to rotate. Page number is 0 origin. Therefore, the first page is counted from "0."

<rotation>

[Required]

Sets the rotation angle. Valid values: 0,90,180,270.Rotates the specified page clockwise.

If a value other than valid values is specified, an error will occur.

Please enter alt text.