共用方式為


PitchAndFamily Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines font families.

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

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration PitchAndFamily
'Usage
Dim instance As PitchAndFamily
[FlagsAttribute]
public enum PitchAndFamily
[FlagsAttribute]
public enum class PitchAndFamily
[<FlagsAttribute>]
type PitchAndFamily

Members

Member name Description
Supported by the .NET Compact Framework DefaultPitch Specifies default pitch.
Supported by the .NET Compact Framework FixedPitch Specifies a monospace font with or without serifs. Monospace fonts are usually modern; examples include Pica, Elite, and Courier New.
Supported by the .NET Compact Framework VariablePitch Specifies a variable-pitch font.
Supported by the .NET Compact Framework FamilyDoNotCare Specifies a generic family name, which is used when information about a font does not exist or does not matter. The default font is used.
Supported by the .NET Compact Framework FamilyRoman Specifies a proportional font with serifs; for example, Times New Roman.
Supported by the .NET Compact Framework FamilySwiss Specifies a proportional font without serifs; for example, Arial.
Supported by the .NET Compact Framework FamilyModern Specifies a monospace font with or without serifs. Monospace fonts are usually modern; examples include Pica, Elite, and Courier New.
Supported by the .NET Compact Framework FamilyScript Specifies a font that is designed to look like handwriting; for example, Script and Cursive.
Supported by the .NET Compact Framework FamilyDecorative Specifies a novelty font; for example, Old English.

Remarks

A font family is a set of fonts that have common stroke width and serif characteristics. There are five font families; a sixth family allows an application to use the default font.

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming in the .NET Compact Framework