FlattenOptions

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

NameTypeAccessDescription
fields-ReadGets the fields.
annotations-ReadGets the annotations.
strict-ReadGets the strict.
pages-ReadGets the pages.
limits-ReadGets the limits.
inputslist[DataSource]ReadGets the inputs.
outputslist[DataSource]ReadGets the outputs.

Methods

SignatureDescription
__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) → PluginOptionsCalls add_input(source) on this FlattenOptions instance.
add_output(source: DataSource) → PluginOptionsCalls add_output(source) on this FlattenOptions instance.
add_data_source(source: DataSource) → PluginOptionsCalls add_data_source(source) on this FlattenOptions instance.

See Also