FontFamilyInfo
Class
Represents information about a font family, including its name and available styles.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
[TypeConverter(typeof(FontFamilyInfoConverter))]
public class FontFamilyInfo : FontFamily
Inheritance: objectFontFamilyInfo
Constructors
Initializes a new instance of the FontFamilyInfo class.
C#
public FontFamilyInfo(FontFamily fontFamily, string displayName = null)
The font family.
displayNamestringThe display name.
Properties
Gets the display name.
C#
public string DisplayName { get; }
The display name.
Methods
Determines whether the specified FontFamilyInfo instance is equal to the current FontFamilyInfo instance.
C#
public bool Equals(FontFamilyInfo value)
The FontFamilyInfo instance to compare with the current instance.
Returns:True if the specified FontFamilyInfo is equal to the current instance; otherwise, false.
Returns a string representation of this FontFamilyInfo.