ParseWarnings

Overview

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

Collects warnings during parsing.

This class provides 3 methods for working with ParseWarnings objects in Python programs. Available methods include: __init__, add, clear. All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: warnings.

Properties

NameTypeAccessDescription
warningslist[PdfParseWarning]ReadReturn a shallow copy of the warnings list.

Methods

SignatureDescription
__init__()Calls init on this ParseWarnings instance.
add(message: str, offset: int)Add a new warning.
clear()Remove all collected warnings.

See Also