PdfAConversionResult

PdfAConversionResult

Overview

PdfAConversionResult is a class in Aspose.PDF FOSS for Python.

Result of a PDF/A conversion operation.

This class provides 2 methods for working with PdfAConversionResult objects in Python programs. Available methods include: __init__, add_error. All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: errors, is_valid, level.

Properties

NameTypeAccessDescription
is_validboolReadReturn True when there are no conversion errors.
errorslist[str]ReadGets the errors.
levelstrReadGets the level.

Methods

SignatureDescription
__init__(errors: list[str] | None, level: str)Calls init(errors, level) on this PdfAConversionResult instance.
add_error(error: str)Append a compliance error.

See Also