Provides a set of static predefined FontWeight values.
Assembly: PresentationCore (in PresentationCore.dll)
Thetype exposes the following members.
|Black||Specifies a "Black" font weight.|
|Bold||Specifies a "Bold" font weight.|
|DemiBold||Specifies a "Demi-bold" font weight.|
|ExtraBlack||Specifies an "Extra-black" font weight.|
|ExtraBold||Specifies an "Extra-bold" font weight.|
|ExtraLight||Specifies an "Extra-light" font weight.|
|Heavy||Specifies a "Heavy" font weight.|
|Light||Specifies a "Light" font weight.|
|Medium||Specifies a "Medium" font weight.|
|Normal||Specifies a "Normal" font weight.|
|Regular||Specifies a "Regular" font weight.|
|SemiBold||Specifies a "Semi-bold" font weight.|
|Thin||Specifies a "Thin" font weight.|
|UltraBlack||Specifies an "Ultra-black" font weight.|
|UltraBold||Specifies an "Ultra-bold" font weight.|
|UltraLight||Specifies an "Ultra-light" font weight.|
A font weight describes the relative weight of a font, in terms of the lightness or heaviness of the strokes. Weight differences are generally differentiated by an increased stroke or thickness that is associated with a given character in a font, as compared to a "normal" character from that same font.
The values correspond to the usWeightClass definition in the OpenType specification. The usWeightClass represents an integer value between 1 and 999. Lower values indicate lighter weights; higher values indicate heavier weights.
For more information about the OpenType usWeightClass value, see the "Font File Tables" section of the OpenType specification.