FlattenOptions
Overview
FlattenOptions is a class in Aspose.PDF FOSS for Python.
Inherits from: PluginOptions.
Select fields, non-widget annotations and zero-based pages to flatten.
This class declares 5 methods for FlattenOptions 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: annotations, fields, inputs, limits, outputs, pages, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
fields | - | Read | Gets the fields. |
annotations | - | Read | Gets the annotations. |
strict | - | Read | Gets the strict. |
pages | - | Read | Gets the pages. |
limits | - | Read | Gets the limits. |
inputs | list[DataSource] | Read | Gets the inputs. |
outputs | list[DataSource] | Read | Gets the outputs. |
Methods
| Signature | Description |
|---|---|
__init__(limits: PdfLoadLimits | None, fields: bool | Iterable[str], annotations: bool, pages: Iterable[int] | None, strict: bool) | Calls init(limits, fields, annotations, pages, strict) on this FlattenOptions instance. |
__init__(limits: PdfLoadLimits | None) | Calls init(limits) on this FlattenOptions instance. |
add_input(source: DataSource) → PluginOptions | Calls add_input(source) on this FlattenOptions instance. |
add_output(source: DataSource) → PluginOptions | Calls add_output(source) on this FlattenOptions instance. |
add_data_source(source: DataSource) → PluginOptions | Calls add_data_source(source) on this FlattenOptions instance. |