Compartir a través de


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)

Syntax

'Declaration
Public lfWeight As Integer
public int lfWeight
public:
int lfWeight
val mutable lfWeight: int
public var lfWeight : int

Remarks

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

COM Signature

From uilocale.idl.

[C++]

.NET Framework Security

See Also

Reference

UIDLGLOGFONT Structure

Microsoft.VisualStudio.Shell.Interop Namespace