ClassFontFamily
Represents a family of related fonts.
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
[TypeConverter(typeof(FontFamilyConverter))]
public class FontFamily
Inheritance: objectFontFamily
Constructors
FontFamily()
Initializes a new instance of an anonymous FontFamily class.
Declaration
public FontFamily()
FontFamily(string)
Initializes a new instance of the FontFamily class from the specified font family name.
Declaration
public FontFamily(string familyName)
Parameters
familyName
The family name or names that comprise the new FontFamily. Multiple family names should be separated by commas.
Exceptions
familyName cannot be null.
Properties
Source
Gets the font family name that is used to construct the FontFamily object.
Declaration
public string Source { get; }
Property Value
The font family name of the FontFamily object.
Methods
Equals(object)
Gets a value that indicates whether the current font family object and the specified font family object are the same.
Declaration
public override bool Equals(object o)
Parameters
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
GetHashCode()
Serves as a hash function for FontFamily. It is suitable for use in hashing algorithms and data structures such as a hash table.
Operators
implicit operator FontFamily(FontFamily)
Declaration
public static implicit operator FontFamily(FontFamily family)
Parameters
family
Returns