Click or drag to resize
FontWeight Methods

The FontWeight type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCompare
Compares two instances of FontWeight.
Public methodEquals(Object)
Determines whether the current FontWeight object is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(FontWeight)
Determines whether the current FontWeight object is equal to a specified FontWeight object.
Public methodStatic memberFromOpenTypeWeight
Creates a new instance of FontWeight that corresponds to the OpenType usWeightClass value.
Public methodGetHashCode
Retrieves the hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodToOpenTypeWeight
Returns a value that represents the OpenType usWeightClass for the FontWeight object.
Public methodToString
Returns a text string that represents the value of the FontWeight object and is based on the CurrentCulture property information.
(Overrides ValueTypeToString.)
Top
See Also