FontFamily
Represents a family of related fonts.
Definition
Namespace:Telerik.WinControls.Spreadsheet.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
[TypeConverter(typeof(FontFamilyConverter))]
public class FontFamily
Inheritance: objectFontFamily
Constructors
Initializes a new instance of the FontFamily class from the specified font family name.
public FontFamily(string familyName)
A GDI+ font family name. This compatibility implementation does not resolve a comma-separated fallback list.
Exceptions: ArgumentNullExceptionfamilyName cannot be null.
An unrecognized family name silently falls back to Verdana. The name
Portable User Interfacemaps to the current WinForms default font family.
Properties
Gets the font family name that is used to construct the FontFamily object.
Methods
Gets a value that indicates whether the current font family object and the specified font family object are the same.
public override bool Equals(object o)
The FontFamily object to compare.
Returns:true if o is equal to the current FontFamily object; otherwise, false. If o is not a FontFamily object, false is returned.
Overrides:
Serves as a hash function for FontFamily. It is suitable for use in hashing algorithms and data structures such as a hash table.
Returns the name of the underlying GDI+ font family.
Operators
Gets the backing GDI+ font family from a compatibility font-family value.
public static implicit operator FontFamily(FontFamily family)
The compatibility font family.
Returns:The underlying FontFamily; it is null for an uninitialized instance.