LogFontWeight Enumeration

Specifies the weight of a font.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

Syntax

'Declaration
Public Enumeration LogFontWeight
'Usage
Dim instance As LogFontWeight
public enum LogFontWeight
public enum class LogFontWeight
public enum LogFontWeight
public enum LogFontWeight

Members

  Member name Description
Supported by the .NET Compact Framework Black A weight of 900. 
Supported by the .NET Compact Framework Bold A weight of 700. 
Supported by the .NET Compact Framework DemiBold A weight of 600. 
Supported by the .NET Compact Framework DontCare A weight of 0. 
Supported by the .NET Compact Framework ExtraBold A weight of 800. 
Supported by the .NET Compact Framework ExtraLight A weight of 200. 
Supported by the .NET Compact Framework Heavy A weight of 900. 
Supported by the .NET Compact Framework Light A weight of 300. 
Supported by the .NET Compact Framework Medium A weight of 500. 
Supported by the .NET Compact Framework Normal A weight of 400. 
Supported by the .NET Compact Framework Regular A weight of 400. 
Supported by the .NET Compact Framework SemiBold A weight of 600. 
Supported by the .NET Compact Framework Thin A weight of 100. 
Supported by the .NET Compact Framework UltraBold A weight of 800. 
Supported by the .NET Compact Framework UltraLight A weight of 200. 

Remarks

The weight of the font can be in the range 0 through 1000. A value of 400 is normal and 700 is bold. This class provides an enumeration of descriptive weight styles for convenience.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsCE.Forms Namespace

Other Resources

Rotated Text Using LogFont Sample