InvalidFontFormatException

InvalidFontFormatException class

The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unexpected and/or unsupported format or not a font at all.

public class InvalidFontFormatException : Exception

Constructors

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

See Also