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
| Name | Type | Access | Description |
|---|---|---|---|
warnings | list[PdfParseWarning] | Read | Return a shallow copy of the warnings list. |
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this ParseWarnings instance. |
add(message: str, offset: int) | Add a new warning. |
clear() | Remove all collected warnings. |