Class FontFamily
Represents a family of related fonts.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class FontFamily
Constructors
FontFamily()
Initializes a new instance of an anonymous System.Windows.Media.FontFamily class.
Declaration
public FontFamily()
FontFamily(String)
Initializes a new instance of the System.Windows.Media.FontFamily class from the specified font family name.
Declaration
public FontFamily(string familyName)
Parameters
System.String
familyName
The family name or names that comprise the new System.Windows.Media.FontFamily. Multiple family names should be separated by commas. |
Exceptions
System.ArgumentNullException
|
Properties
Source
Gets the font family name that is used to construct the System.Windows.Media.FontFamily object.
Declaration
public string Source { get; }
Property Value
System.String
The font family name of the System.Windows.Media.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
System.Object
o
The System.Windows.Media.FontFamily object to compare. |
Returns
System.Boolean
true if |
Overrides
GetHashCode()
Serves as a hash function for System.Windows.Media.FontFamily. It is suitable for use in hashing algorithms and data structures such as a hash table.
Declaration
public override int GetHashCode()
Returns
System.Int32
An System.Int32 value that represents the hash code for the current object. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
Operators
Implicit(FontFamily to FontFamily)
Declaration
public static implicit operator FontFamily(FontFamily family)
Parameters
FontFamily
family
|
Returns
System.Drawing.FontFamily
|