PdfMalformedError
PdfMalformedError
概述
PdfMalformedError 是 Aspose.PDF FOSS 中用于 Python 的一个类。继承自:PdfParseError。
可恢复的损坏 PDF 结构。
此类提供 1 个方法,用于在 Python 程序中处理 PdfMalformedError 对象。可用的方法包括:__init__。安装 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:message、offset、recoverable。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
message | str | 读取 | 获取消息。 |
offset | int | 读取 | 获取偏移量。 |
recoverable | bool | 读取 | 获取可恢复的。 |
方法
| 签名 | 描述 |
|---|---|
__init__(message: str, offset: int) | Calls init在此 PdfMalformedError 实例上 (message, offset)。 |