New to Telerik Document ProcessingStart a free 30-day trial

Thrown when the document references a font type that is not supported by the processing engine.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class NotSupportedFontException : NotSupportedFeatureException, ISerializable

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedFontException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState...

Constructors

Initializes a new instance of the NotSupportedFontException class.

C#
public NotSupportedFontException()

Initializes a new instance of the NotSupportedFontException class.

C#
protected NotSupportedFontException(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

The info.

contextStreamingContext

The context.

Initializes a new instance of the NotSupportedFontException class.

C#
public NotSupportedFontException(string message, Exception cause)
Parameters:messagestring

The error message that explains the reason for the exception.

causeException

The exception that is the cause of the current exception.

Initializes a new instance of the NotSupportedFontException class.

C#
public NotSupportedFontException(string fontType, string message)
Parameters:fontTypestring

The type name of the unsupported font.

messagestring

The error message that explains the reason for the exception.

Initializes a new instance of the NotSupportedFontException class.

C#
public NotSupportedFontException(string fontType)
Parameters:fontTypestring

The type name of the unsupported font.

Methods

Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method

C#
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

contextStreamingContext

The StreamingContext structure that contains contextual information about the source or destination.

Overrides: Exception.GetObjectData(SerializationInfo, StreamingContext)

Properties

Gets the type name of the unsupported font.

C#
public string FontType { get; }
Property Value:

The font type that is not supported.