InvalidPdfFileFormatException
概述
InvalidPdfFileFormatException 是Aspose.PDF FOSS中的一个类. 继承人: PdfException.
当流不能作为PDF打开时被抛出 (错误的标题,缩短文件或以其他方式无法识别为PDP).
这个类提供了6种方法,用于在NET程序中与InvalidPdfFileFormatException对象工作. 有的方法包括: GenerateCrashReport, InvalidPdfFileFormatException, PdfException. 所有公众成员在安装Aspose.PDF FOSS for .NET 包后可以访问任何.NET 应用程序.
方法
| Signature | 描述 |
|---|---|
InvalidPdfFileFormatException() | 在这个 InvalidPdfFileFormatException 实例中调用 InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(message: string) | 在这个 InvalidPdfFileFormatException 实例上调用 InvalidPdfFileFormatException ((消息). |
InvalidPdfFileFormatException(message: string, innerException: Exception) | 在这个 InvalidPdfFileFormatException 实例上调用 InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(innerException: Exception) | 在这个 InvalidPdfFileFormatException 实例中调用 InvalidPdfFileFormatException ((innerException). |
PdfException() | 启动一个新的 PdfException 类实例. |
GenerateCrashReport(options: CrashReportOptions) | 写一个崩报告到磁盘每选项. |