BoundsOutOfRangeException
概述
BoundsOutOfRangeException 是 Aspose.PDF FOSS 中用于 .NET 的类。继承自:PdfException。
当元素被插入到其边界检查模式为 ThrowExceptionIfDoesNotFit 的父容器中且该元素不符合容器矩形时抛出。
此类提供 8 个方法,用于在 .NET 程序中处理 BoundsOutOfRangeException 对象。可用的方法包括:BoundsOutOfRangeException、GenerateCrashReport、PdfException。在安装 Aspose.PDF FOSS for .NET 包后,所有公共成员均可被任何 .NET 应用程序访问。
方法
| 签名 | 描述 |
|---|---|
BoundsOutOfRangeException() | 初始化 BoundsOutOfRangeException 类的新实例。 |
BoundsOutOfRangeException(message: string) | 使用消息初始化 BoundsOutOfRangeException 类的新实例。 |
BoundsOutOfRangeException(message: string, innerException: Exception) | 使用消息和内部异常初始化 BoundsOutOfRangeException 类的新实例。 |
PdfException() | 初始化 PdfException 类的新实例。 |
PdfException(message: string) | 使用消息初始化 PdfException 类的新实例。 |
PdfException(message: string, innerException: Exception) | 使用消息和内部异常初始化 PdfException 类的新实例。 |
PdfException(innerException: Exception) | 包装内部异常来初始化 PdfException 类的新实例。 |
GenerateCrashReport(options: CrashReportOptions) | 根据选项将崩溃报告写入磁盘。 |