InvalidPdfFileFormatException
Overview
InvalidPdfFileFormatException là một lớp trong Aspose.PDF FOSS cho .NET. Dòng thừa kế từ: PdfException.
Thrown khi một dòng không thể mở như là PDF (cách tiêu đề xấu, tệp truncated hoặc bất kỳ cách nào không được nhận dạng như PDF).
Khóa học này cung cấp 6 phương pháp để làm việc với các đối tượng InvalidPdfFileFormatException trong các chương trình .NET. Các phương pháp có sẵn bao gồm: GenerateCrashReport, InvalidPdfFileFormatException, PdfException. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng .NET nào sau khi cài đặt Aspose.PDF FOSS cho gói .Net.
Methods
| Signature | Description |
|---|---|
InvalidPdfFileFormatException() | Hãy gọi InvalidPdfFileFormatException trên trường hợp này InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(message: string) | |
InvalidPdfFileFormatException(message: string, innerException: Exception) | |
InvalidPdfFileFormatException(innerException: Exception) | |
PdfException() | Khởi động một trường hợp mới của lớp PdfException. |
GenerateCrashReport(options: CrashReportOptions) | Viết báo cáo tai nạn vào đĩa theo tùy chọn. |