UIDLGLOGFONT::lfWeight Field

 

Specifies the weight of the font in the range 0 through 1000.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public:
[ComAliasNameAttribute("Microsoft.VisualStudio.OLE.Interop.LONG")]
int lfWeight

Field Value

Type: System::Int32

A value of 400 is normal and 700 is bold, as an example. If this value is zero, a default weight is used. The following values are defined for convenience.

Value

Weight

FW_DONTCARE

0

FW_THIN

100

FW_ULTRALIGHT

200

FW_EXTRALIGHT

200

FW_LIGHT

300

FW_NORMAL

400

FW_REGULAR

400

FW_MEDIUM

500

FW_SEMIBOLD

600

FW_DEMIBOLD

600

FW_BOLD

700

FW_EXTRABOLD

800

FW_ULTRABOLD

800

FW_HEAVY

900

FW_BLACK

900

From uilocale.idl.

[C++]

Return to top
Show: