PDF Rotate
PDF Rotate
Section titled “PDF Rotate”Type: pdf-rotate · Package: PDF Activities v1.0.0 · Output: string
Rotate the pages of a PDF by 90, 180 or 270 degrees, and save the result to a new file. Useful for correcting documents scanned upside down or sideways before processing or sending.
How it works
Section titled “How it works”Rotate the indicated pages (all, or a range) at the given angle and create a new PDF at output. Returns the path of the created file.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
path | expression | Source PDF path. |
output | expression | Path of the resulting PDF. |
angle | expression | Rotation angle: 90, 180 or 270. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
pages | expression | Pages to rotate: "all" (def.) or a range such as "1-3,5". |
Output
Section titled “Output”Returns a string with the path of the created PDF.
Example
Section titled “Example”PDF Rotate path = = ruta output = "C:/corregido.pdf" angle = 90Related activities
Section titled “Related activities”- PDF Extract Pages — keep specific pages.
- PDF Get Page Count — find out how many pages there are.