InvalidPdfFileFormatException

InvalidPdfFileFormatException

Overview

InvalidPdfFileFormatException is a class in Aspose.PDF FOSS for .NET. Inherits from: PdfException.

Thrown when a stream cannot be opened as a PDF (bad header, truncated file, or otherwise unrecognisable as PDF).

This class provides 6 methods for working with InvalidPdfFileFormatException objects in .NET programs. Available methods include: GenerateCrashReport, InvalidPdfFileFormatException, PdfException. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
InvalidPdfFileFormatException()Calls InvalidPdfFileFormatException on this InvalidPdfFileFormatException instance.
InvalidPdfFileFormatException(message: string)
InvalidPdfFileFormatException(message: string, innerException: Exception)
InvalidPdfFileFormatException(innerException: Exception)
PdfException()Initializes a new instance of the PdfException class.
GenerateCrashReport(options: CrashReportOptions)Write a crash report to disk per options.

See Also