Class NotSupportedFontException
Represents an exception thrown when attempting to use a font type that is not supported by the library.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Exceptions
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class NotSupportedFontException : NotSupportedFeatureException, ISerializable, _Exception
Constructors
NotSupportedFontException()
Initializes a new instance of the NotSupportedFontException class.
Declaration
public NotSupportedFontException()
NotSupportedFontException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotSupportedFontException class.
Declaration
protected NotSupportedFontException(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The info. |
System.Runtime.Serialization.StreamingContext
context
The context. |
NotSupportedFontException(String)
Initializes a new instance of the NotSupportedFontException class.
Declaration
public NotSupportedFontException(string fontType)
Parameters
System.String
fontType
The type name of the unsupported font. |
NotSupportedFontException(String, Exception)
Initializes a new instance of the NotSupportedFontException class.
Declaration
public NotSupportedFontException(string message, Exception cause)
Parameters
System.String
message
The error message that explains the reason for the exception. |
System.Exception
cause
The exception that is the cause of the current exception. |
NotSupportedFontException(String, String)
Initializes a new instance of the NotSupportedFontException class.
Declaration
public NotSupportedFontException(string fontType, string message)
Parameters
System.String
fontType
The type name of the unsupported font. |
System.String
message
The error message that explains the reason for the exception. |
Properties
FontType
Gets the type name of the unsupported font.
Declaration
public string FontType { get; }
Property Value
System.String
The font type that is not supported. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Provides COM objects with version-independent access to the System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method
Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo object that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext structure that contains contextual information about the source or destination. |