ConvertOptions
Overview
ConvertOptions is a class in Aspose.PDF FOSS for Python.
Inherits from: PluginOptions.
Options for :class:Converter: render or re-express each input.
This class declares 5 methods for ConvertOptions 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: compression, dither, dpi, embed_images, inputs, limits, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
output_format | - | Read | Gets the output format. |
pages | - | Read | Gets the pages. |
embed_images | - | Read | Gets the embed images. |
dpi | - | Read | Gets the dpi. |
mode | - | Read | Gets the mode. |
compression | - | Read | Gets the compression. |
quality | - | Read | Gets the quality. |
lossless | - | Read | Gets the lossless. |
method | - | Read | Gets the method. |
dither | - | Read | Gets the dither. |
limits | - | Read | Gets the limits. |
inputs | list[DataSource] | Read | Gets the inputs. |
outputs | list[DataSource] | Read | Gets the outputs. |
Methods
| Signature | Description |
|---|---|
__init__(output_format: str, pages: Iterable[int] | None, embed_images: bool, dpi: float, mode: str, compression: str, quality: int, lossless: bool, method: int, dither: bool, limits: PdfLoadLimits | None) | Calls init(output_format, pages, embed_images, dpi, mode, compression, quality, lossless, method, dither, limits) on this ConvertOptions instance. |
__init__(limits: PdfLoadLimits | None) | Calls init(limits) on this ConvertOptions instance. |
add_input(source: DataSource) → PluginOptions | Calls add_input(source) on this ConvertOptions instance. |
add_output(source: DataSource) → PluginOptions | Calls add_output(source) on this ConvertOptions instance. |
add_data_source(source: DataSource) → PluginOptions | Calls add_data_source(source) on this ConvertOptions instance. |