PitchAndFamily Enumeration

Language:

Defines font families.

Definition

Visual Basic Public Enum PitchAndFamily
C# public enum PitchAndFamily
C++ public enum class PitchAndFamily
JScript public enum PitchAndFamily

Members

Member Value Description
FamilyDecorative 80 Specifies a novelty font; for example, Old English.
FamilyScript 64 Specifies a font that is designed to look like handwriting; for example, Script and Cursive.
FamilyModern 48 Specifies a monospace font with or without serifs. Monospace fonts are usually modern; examples include Pica, Elite, and Courier New.
FamilySwiss 32 Specifies a proportional font without serifs; for example, Arial.
FamilyRoman 16 Specifies a proportional font with serifs; for example, Times New Roman.
FamilyDoNotCare 0 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.
MonoFont 8 Specifies a monospace font.
VariablePitch 2 Specifies a variable-pitch font.
FixedPitch 1 Specifies a fixed-pitch font.
DefaultPitch 0 Specifies default pitch.

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.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center