ConvertOptions

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

NameTypeAccessDescription
output_format-ReadGets the output format.
pages-ReadGets the pages.
embed_images-ReadGets the embed images.
dpi-ReadGets the dpi.
mode-ReadGets the mode.
compression-ReadGets the compression.
quality-ReadGets the quality.
lossless-ReadGets the lossless.
method-ReadGets the method.
dither-ReadGets the dither.
limits-ReadGets the limits.
inputslist[DataSource]ReadGets the inputs.
outputslist[DataSource]ReadGets the outputs.

Methods

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

See Also