FontWeight Methods
.NET Framework 4.5
The FontWeight type exposes the following members.
| Name | Description | |
|---|---|---|
|
Compare | Compares two instances of FontWeight. |
|
Equals(FontWeight) | Determines whether the current FontWeight object is equal to a specified FontWeight object. |
|
Equals(Object) | Determines whether the current FontWeight object is equal to a specified object. (Overrides ValueType.Equals(Object).) |
|
FromOpenTypeWeight | Creates a new instance of FontWeight that corresponds to the OpenType usWeightClass value. |
|
GetHashCode | Retrieves the hash code for this object. (Overrides ValueType.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
ToOpenTypeWeight | Returns a value that represents the OpenType usWeightClass for the FontWeight object. |
|
ToString | Returns a text string that represents the value of the FontWeight object and is based on the CurrentCulture property information. (Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
|
IFormattable.ToString | For a description of this member, see IFormattable.ToString. |