Class FontProperties
Represents fonts properties class.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Spreadsheet.Documents.Core.Fonts
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class FontProperties
Constructors
FontProperties(FontFamily)
Initializes a new instance of the FontProperties class.
Declaration
public FontProperties(FontFamily fontFamily)
Parameters
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
FontFamily
fontFamily
The font family. |
FontStyle
fontStyle
The font style. |
FontWeight
fontWeight
The font weight. |
Properties
FontFamily
Gets the font family.
Declaration
public FontFamily FontFamily { get; }
Property Value
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
FontStyle
The font style. |
FontWeight
Gets the font weight.
Declaration
public FontWeight FontWeight { get; }
Property Value
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. |