PdfAValidationResult

PdfAValidationResult

Overview

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

Result of a PDF/A validation run.

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

Properties

NameTypeAccessDescription
is_validboolReadGets the is valid.
errorslist[str]ReadGets the errors.

Methods

SignatureDescription
__init__()Calls init on this PdfAValidationResult instance.
reset()Reset the validation result to its default state.
add_error(error: str)Add an error message to the result and mark it as invalid.
to_dict()dict[str, Any]Return a dictionary representation of the validation result.

See Also