This documentation is archived and is not being maintained.

LogFontPitchAndFamily Enumeration

Specifies categories of fonts.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

public enum LogFontPitchAndFamily

Member nameDescription
Supported by the .NET Compact FrameworkDefaultSpecifies a default font.
Supported by the .NET Compact FrameworkFixedSpecifies a monospaced font family.
Supported by the .NET Compact FrameworkVariableSpecifies that the font family can vary.
Supported by the .NET Compact FrameworkDecorativeSpecifies novelty fonts. Old English is an example.
Supported by the .NET Compact FrameworkDontCareSpecifies that the font family is not important.
Supported by the .NET Compact FrameworkModernSpecifies monofaced fonts with or without serifs. Pica, Elite, and Courier NewTM are examples of monospace fonts.
Supported by the .NET Compact FrameworkRomanSpecifies proportional fonts with serifs. MS Serif is an example.
Supported by the .NET Compact FrameworkScriptSpecifies fonts designed to look like handwriting. Script and Cursive are examples.
Supported by the .NET Compact FrameworkSwissSpecifies proportional fonts without serifs. MS Sans Serif is an example.

Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available.

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

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

.NET Compact Framework

Supported in: 3.5, 2.0