pdftools_sdk.pdf.output_options

Classes

OutputOptions()

The parameters for document-level features of output PDFs

class pdftools_sdk.pdf.output_options.OutputOptions[source]

Bases: _NativeObject

The parameters for document-level features of output PDFs

Output options are used in many operations that create PDF documents.

__init__()[source]
property encryption: Encryption | None

The parameters to encrypt output PDFs

If None, no encryption is used.

Encryption is not allowed by the PDF/A ISO standards. For that reason, it is recommended to use None when processing PDF/A documents. Otherwise, most operations will remove PDF/A conformance from the output document. More details can be found in the documentation of the operation.

Default is None, no encryption is used.

Returns:

Optional[pdftools_sdk.pdf.encryption.Encryption]

property metadata_settings: MetadataSettings | None

Default is None, metadata are copied to the output document.

Returns:

Optional[pdftools_sdk.pdf.metadata_settings.MetadataSettings]