Home Search

DriveWorks Pro 21
PDF: Rotate Page(s)

Send Feedback

PDF: Rotate Page(s)

This Specification Task will rotate (90,180,270 degrees) the given pages in a PDF file.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
PDF FileThe path to the PDF file to modify.
Page RangeUse '*' or leave empty to select all pages. Also accepts pipebar delimited list of page numbers, e.g. '1|2|3', or a range using a hyphen, e.g. '1-3'.
Rotation AngleThe rotation angle in degrees. Supported values are: 0, 90, 180, 270.

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleMeaning
PDF File"D:\DriveWorks\ProductGuide.pdf"Will rotate pages from the ProductGuide.pdf document.
Page Range"1|2|3|10-15"Will rotate pages 1,2,3, 10, 11, 12, 13, 14 and 15.
Rotation Angle90Will rotate the given pages 90 degrees.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • The pages were rotated successfully.

Success with Warnings

  • N/A

Failed

  • There was an error.
  • The PDF file could not be found or accessed.
  • The file given does not have a valid .pdf extension.
  • The page range is invalid or refers to pages which do not exist.
  • The rotation angle is invalid.