Export (0) Print
Expand All

FontWeight Methods

The FontWeight type exposes the following members.

  Name Description
Public method Static member Compare Compares two instances of FontWeight.
Public method Equals(FontWeight) Determines whether the current FontWeight object is equal to a specified FontWeight object.
Public method Equals(Object) Determines whether the current FontWeight object is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public method Static member FromOpenTypeWeight Creates a new instance of FontWeight that corresponds to the OpenType usWeightClass value.
Public method GetHashCode Retrieves the hash code for this object. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToOpenTypeWeight Returns a value that represents the OpenType usWeightClass for the FontWeight object.
Public method ToString Returns a text string that represents the value of the FontWeight object and is based on the CurrentCulture property information. (Overrides ValueType.ToString().)
Top

  Name Description
Explicit interface implemetation Private method IFormattable.ToString For a description of this member, see IFormattable.ToString.
Top
Show:
© 2014 Microsoft