InvalidFormatException

InvalidFormatException class

The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format.

public sealed class InvalidFormatException : Exception

Remarks

For example, this exception will be thrown, if try to open a Spreadsheet document with WordProcessing document options.

See Also