Struct FontWeight
Refers to the density of a typeface, in terms of the lightness or heaviness of the strokes.
Inherited Members
Namespace: Telerik.WinControls.Spreadsheet.UI
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public struct FontWeight : IFormattable
Methods
Compare(FontWeight, FontWeight)
Compares two instances of System.
Declaration
public static int Compare(FontWeight left, FontWeight right)
Parameters
Font The first System. |
Font The second System. |
Returns
System. An System. |
Equals(Object)
Determines whether the current System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. true if the two instances are equal; otherwise, false. |
Overrides
Equals(FontWeight)
Determines whether the current System.
Declaration
public bool Equals(FontWeight obj)
Parameters
Font The instance of System. |
Returns
System. true if the two instances are equal; otherwise, false. |
FromOpenTypeWeight(Int32)
Creates a new instance of System.
Declaration
public static FontWeight FromOpenTypeWeight(int weightValue)
Parameters
System. An integer value between 1 and 999 that corresponds to the usWeightClass definition in the OpenType specification. |
Returns
Font A new instance of System. |
GetHashCode()
Retrieves the hash code for this object.
Declaration
public override int GetHashCode()
Returns
System. A 32-bit hash code, which is a signed integer. |
Overrides
ToOpenTypeWeight()
Returns a value that represents the OpenType usWeightClass for the System.
Declaration
public int ToOpenTypeWeight()
Returns
System. An integer value between 1 and 999 that corresponds to the usWeightClass definition in the OpenType specification. |
ToString()
Returns a text string that represents the value of the System.
Declaration
public override string ToString()
Returns
System. A System. |
Overrides
Operators
Equality(FontWeight, FontWeight)
Compares two instances of System.
Declaration
public static bool operator ==(FontWeight left, FontWeight right)
Parameters
Font The first instance of System. |
Font The second instance of System. |
Returns
System. true if the instances of System. |
GreaterThan(FontWeight, FontWeight)
Evaluates two instances of System.
Declaration
public static bool operator>(FontWeight left, FontWeight right)
Parameters
Font The first instance of System. |
Font The second instance of System. |
Returns
System. true if |
GreaterThanOrEqual(FontWeight, FontWeight)
Evaluates two instances of System.
Declaration
public static bool operator >=(FontWeight left, FontWeight right)
Parameters
Font The first instance of System. |
Font The second instance of System. |
Returns
System. true if |
Inequality(FontWeight, FontWeight)
Evaluates two instances of System.
Declaration
public static bool operator !=(FontWeight left, FontWeight right)
Parameters
Font The first instance of System. |
Font The second instance of System. |
Returns
System. false if |
LessThan(FontWeight, FontWeight)
Evaluates two instances of System.
Declaration
public static bool operator <(FontWeight left, FontWeight right)
Parameters
Font The first instance of System. |
Font The second instance of System. |
Returns
System. true if |
LessThanOrEqual(FontWeight, FontWeight)
Evaluates two instances of System.
Declaration
public static bool operator <=(FontWeight left, FontWeight right)
Parameters
Font The first instance of System. |
Font The second instance of System. |
Returns
System. true if |
Explicit Interface Implementations
IFormattable.ToString(String, IFormatProvider)
For a description of this member, see System.
Declaration
string IFormattable.ToString(string format, IFormatProvider provider)
Parameters
System. The System. |
System. The System. |
Returns
System. A System. |