PdfCorruptedError

PdfCorruptedError

概述

PdfCorruptedError 是 Aspose.PDF FOSS 中用于 Python 的类。继承自:PdfParseError。

PDF 损坏,无法恢复。

此类提供 1 个用于在 Python 程序中处理 PdfCorruptedError 对象的方法。可用的方法包括:__init__。安装 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:message、offset、recoverable。

属性

名称类型访问描述
messagestr读取获取消息。
offsetint读取获取偏移量。
recoverablebool读取获取可恢复的。

方法

签名描述
__init__(message: str, offset: int)Calls init(message, offset) 在此 PdfCorruptedError 实例上。

另请参阅

 中文