InvalidFileFormatException

InvalidFileFormatException class

The exception that is thrown when a file is invalid.

public class InvalidFileFormatException : PdfException

Constructors

Name Description
InvalidFileFormatException() Initializes a new instance of the InvalidFileFormatException class.
InvalidFileFormatException(Exception) Initializes a new instance of the InvalidFileFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception.
InvalidFileFormatException(string) Initializes a new instance of the InvalidFileFormatException class.
InvalidFileFormatException(string, Exception) Initializes a new instance of the InvalidFileFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception.

See Also