Class FontProperties
Represents fonts properties class.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Core.Fonts
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class FontProperties
Constructors
FontProperties(FontFamily)
Initializes a new instance of the FontProperties class.
Declaration
public FontProperties(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
FontProperties(FontFamily, FontStyle, FontWeight)
Initializes a new instance of the FontProperties class.
Declaration
public FontProperties(FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
System.Windows.FontStyle
fontStyle
The font style. |
System.Windows.FontWeight
fontWeight
The font weight. |
Properties
FontFamily
Gets the font family.
Declaration
public FontFamily FontFamily { get; }
Property Value
System.Windows.Media.FontFamily
The font family. |
FontFamilyName
Gets font family name.
Declaration
public string FontFamilyName { get; }
Property Value
System.String
The name of the font family. |
FontStyle
Gets the font style.
Declaration
public FontStyle FontStyle { get; }
Property Value
System.Windows.FontStyle
The font style. |
FontWeight
Gets the font weight.
Declaration
public FontWeight FontWeight { get; }
Property Value
System.Windows.FontWeight
The font weight. |
IsMonoSpaced
Gets if font is mono spaced.
Declaration
public bool IsMonoSpaced { get; }
Property Value
System.Boolean
The is mono spaced. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |