New to Telerik UI for WinFormsStart a free 30-day trial

Provides additional data for font substitution.

Definition

Namespace:Telerik.WinForms.Documents.FormatProviders

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FontSubstitutingEventArgs : EventArgs

Inheritance: objectEventArgsFontSubstitutingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the FontSubstitutingEventArgs class.

C#
public FontSubstitutingEventArgs(string originalFontName, FontFamily substitutionFontFamily)
Parameters:originalFontNamestring

Name of the original font.

substitutionFontFamilyFontFamily

The substituting font family.

Properties

Gets the name of the original font.

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

The name of the original font.

Gets or sets the substituting font family.

C#
public FontFamily SubstitutionFontFamily { get; set; }
Property Value:

The substituting font family.