adobe.pdfservices.operation.pdfjobs.params.rotate_pages package
Submodules
adobe.pdfservices.operation.pdfjobs.params.rotate_pages.angle module
- class adobe.pdfservices.operation.pdfjobs.params.rotate_pages.angle.Angle(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Represents angles in degrees.
- ANGLE_180 = 180
Represents 180 degrees clockwise rotation
- ANGLE_270 = 270
Represents 270 degrees clockwise rotation
- ANGLE_90 = 90
Represents 90 degrees clockwise rotation
adobe.pdfservices.operation.pdfjobs.params.rotate_pages.rotate_pages_params module
- class adobe.pdfservices.operation.pdfjobs.params.rotate_pages.rotate_pages_params.RotatePagesParams
Bases:
PDFServicesJobParams
Parameters to rotate pages of a pdf using
RotatePagesJob<adobe.pdfservices.operation.pdfjobs.jobs.rotate_pages_job.>RotatePagesJob
- add_angle_to_rotate(angle: Angle)
Sets the Angle to be used for rotating pages.
- Parameters:
angle (Angle) – Angle; can not be None.
- add_angle_to_rotate_for_page_ranges(angle: Angle, page_ranges: PageRanges)
Sets the Angle to be used for rotating pages specified in PageRanges.
- Parameters:
angle (Angle) – Angle; can not be None.
page_ranges (PageRanges) – PageRanges; can not be None.
- get_page_actions()
- Returns:
PageActions to be used for rotating pages.
- Return type: