InvalidPdfFileFormatException
Revisió
InvalidPdfFileFormatException És una classe en Aspose.PDF FOSS per a .NET. Heretat de: PdfException.
Es pot fer quan un flux no es pot obrir com a PDF (titre dolent, arxiu trencat o d’altra manera desconeguda com PDF).
Aquesta classe proporciona 6 mètodes per treballar amb els objectes InvalidPdfFileFormatException en programes .NET. Els mètodes disponibles inclouen: GenerateCrashReport, InvalidPdfFileFormatException, PdfException. Tots els membres públics estan accessibles a qualsevol aplicació .NET després d’instal·lar el Aspose.PDF FOSS per al paquet .Net.
Mètodes
| Signature | Descripció |
|---|---|
InvalidPdfFileFormatException() | Coneix InvalidPdfFileFormatException en aquest instància InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(message: string) | Coneix InvalidPdfFileFormatException(mesatge) en aquest instància InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(message: string, innerException: Exception) | Calla InvalidPdfFileFormatException (mesatge, interiorExcepció) en aquest instància InvalidPdfFileFormatException. |
InvalidPdfFileFormatException(innerException: Exception) | Coneix InvalidPdfFileFormatException (interiorExcepció) en aquest instància InvalidPdfFileFormatException. |
PdfException() | Inicia una nova instància de la classe PdfException. |
GenerateCrashReport(options: CrashReportOptions) | Escriu un informe de crash al disc per opcions. |