InvalidPdfFileFormatException
ภาพรวม
InvalidPdfFileFormatException เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET. ทายาทจาก: PdfException.
วางเมื่อสตรีมไม่สามารถเปิดเป็น PDF (หัวข้อไม่ถูกต้อง, ไฟล์ที่ตัดขาด หรือ ไม่สามารถจําได้ในรูปแบบ PDF ได้).
หมวดนี้ให้ 6 วิธีในการทํางานกับวัตถุ InvalidPdfFileFormatException ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: GenerateCrashReport, InvalidPdfFileFormatException, PdfException. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net.
วิธีการ
| Signature | คําอธิบาย |
|---|---|
InvalidPdfFileFormatException() | เรียก InvalidPdfFileFormatException ในตัวอย่างนี้ InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(message: string) | เรียก InvalidPdfFileFormatException(message) ในตัวอย่างนี้ InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(message: string, innerException: Exception) | เรียก InvalidPdfFileFormatException ((message, innerException) ในตัวอย่างนี้ InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(innerException: Exception) | เรียก InvalidPdfFileFormatException ((innerException) ในตัวอย่างนี้ InvalidPdfFileFormatException. |
PdfException() | เริ่มต้นตัวอย่างใหม่ของคลาส PdfException. |
GenerateCrashReport(options: CrashReportOptions) | เขียนรายงานการล้มเหลวในดิสก์ต่อตัวเลือก. |