RotateOptions
Overview
RotateOptions is a class in Aspose.PDF FOSS for Python.
Inherits from: PluginOptions.
Options for :class:Rotator.
This class declares 5 methods for RotateOptions objects in Python programs.
Available methods include: __init__, add_data_source, add_input, add_output.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: inputs, limits, outputs, pages, relative, rotation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
rotation | - | Read | Gets the rotation. |
pages | - | Read | Gets the pages. |
relative | - | Read | Gets the relative. |
limits | - | Read | Gets the limits. |
inputs | list[DataSource] | Read | Gets the inputs. |
outputs | list[DataSource] | Read | Gets the outputs. |
Methods
| Signature | Description |
|---|---|
__init__(rotation: int, pages: Iterable[int] | None, relative: bool, limits: PdfLoadLimits | None) | Calls init(rotation, pages, relative, limits) on this RotateOptions instance. |
__init__(limits: PdfLoadLimits | None) | Calls init(limits) on this RotateOptions instance. |
add_input(source: DataSource) → PluginOptions | Registers a source document for rotation processing |
add_output(source: DataSource) → PluginOptions | Registers a destination for the rotated PDF output |
add_data_source(source: DataSource) → PluginOptions | Registers additional data sources (e.g., metadata) needed for rotation |