Gets or sets the thickness of the font.
Visual Basic (Declaration) | |
---|---|
Public Property FontWeight As ExpressionInfo |
C# | |
---|---|
public ExpressionInfo FontWeight {get; set;} |
Property Value
An ExpressionInfo object that evaluates to a FontWeight enumeration or a number between 100 and 900 indicating the thickness of the font. Valid values are listed in the table below.
FontWeight | Description |
---|---|
Light | A light font weight with a numeric value of 300. |
Normal (Default) | A normal font weight with a numeric value of 400. |
Medium | A medium font weight with a numeric value of 500. |
Semibold | A semi-bold font weight with a numeric value of 600. |
Bold | A bold font weight with a numeric value of 700. |
Extrabold | An extra-bold font weight with a numeric value of 800. |
Heavy | The heaviest possible font weight with a numeric value of 900. |
Bolder | Selects the next value that is darker than the inherited value. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2