UIDLGLOGFONT.lfWeight Field

Definition

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

public: int lfWeight;
public: int lfWeight;
int lfWeight;
[System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.OLE.Interop.LONG")]
public int lfWeight;
[<System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.OLE.Interop.LONG")>]
val mutable lfWeight : int
Public lfWeight As Integer 

Field Value

Attributes

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++]

Applies to