FontFamilyInfo
Class
Combines a font family with an optional display name; when omitted, the display name defaults to the family's source.
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class FontFamilyInfo : FontFamily
Inheritance: objectFontFamilyFontFamilyInfo
Inherited Members
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 another font-family entry has the same display name and underlying font family.
C#
public bool Equals(FontFamilyInfo value)
The font-family entry to compare with this instance.
Returns:true if both the display name and font family match; otherwise, false.
Returns a string representation of this FontFamilyInfo.