Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As UIDLGLOGFONT
Dim value As Integer
value = instance.lfWeight
instance.lfWeight = value
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.