ClassFontProperties
Represents fonts properties class.
Definition
Namespace:Telerik.WinForms.Spreadsheet.Documents.Core.Fonts
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class FontProperties
Inheritance: objectFontProperties
Constructors
FontProperties(FontFamily)
Initializes a new instance of the FontProperties class.
Declaration
public FontProperties(FontFamily fontFamily)
Parameters
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
fontFamily
The font family.
fontStyle
The font style.
fontWeight
The font weight.
Properties
FontFamily
Gets the font family.
Declaration
public FontFamily FontFamily { get; }
Property Value
The font family.
FontFamilyName
Gets font family name.
Declaration
public string FontFamilyName { get; }
Property Value
The name of the font family.
FontStyle
Gets the font style.
Declaration
public FontStyle FontStyle { get; }
Property Value
The font style.
FontWeight
Gets the font weight.
Declaration
public FontWeight FontWeight { get; }
Property Value
The font weight.
IsMonoSpaced
Gets if font is mono spaced.
Declaration
public bool IsMonoSpaced { get; }
Property Value
The is mono spaced.
Methods
GetHashCode()
Serves as a hash function for a particular type.