Class FontFamily
Represents a family of fonts.
Inheritance
Inherited Members
Namespace: Telerik.Documents.Core.Fonts
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class FontFamily
Constructors
FontFamily(String)
Initializes a new instance of the FontFamily class.
Declaration
public FontFamily(string familyName)
Parameters
System.String
familyName
|
Properties
Source
Gets the family name.
Declaration
public string Source { get; }
Property Value
System.String
|
Methods
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current object. |
Returns
System.Boolean
true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current object. |
Overrides
ToString()
Return familyName if there is one or String.Empty for unnamed font family.
Declaration
public override string ToString()
Returns
System.String
|