The rotate operation element can be used to rotate pages in the document.
pages (default: "1")
Defines which page(s) should be rotated. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). To specify "all pages," use an asterisk ("*").
degrees (default: 90)
Used to specify the clockwise rotation in degrees. The rotation is always in 90-degree increments (0, 90, 180, 270, 360). Deviating values will always be rounded down to the next lower increment (e.g.: 32 degrees will become 0 degrees and 101 degrees will become 90 degrees). Once the rotation is completed, the new value will be normalized to a range of 0 to 359 degrees. If the page being rotated has an impermissible value (e.g., 112 degrees), this value will be adjusted before the rotation operation as well (112 degrees will become 90 degrees).
pageGroup (default: "all")
Used to select pages based on their page number within the specified page range:
all = All pages
even = All pages with an even page number
odd = All pages with an odd page number
pageOrientation (default: "any")
Used to select pages based on their orientation within the specified page range:
any = All pages
portrait = All pages in portrait format
landscape = All pages in landscape format