UIDLGLOGFONT.lfPitchAndFamily Field

Definition

Specifies the pitch and family of the font.

public: System::Byte lfPitchAndFamily;
public: byte lfPitchAndFamily;
byte lfPitchAndFamily;
[System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.TextManager.Interop.BYTE")]
public byte lfPitchAndFamily;
[<System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.TextManager.Interop.BYTE")>]
val mutable lfPitchAndFamily : byte
Public lfPitchAndFamily As Byte 

Field Value

Attributes

Remarks

The two low-order bits specify the pitch of the font and can be one of the following values.

  • DEFAULT_PITCH

  • FIXED_PITCH

  • VARIABLE_PITCH

Bits 4 through 7 of the member specify the font family and can be one of the following values.

  • FF_DECORATIVE

  • FF_DONTCARE

  • FF_MODERN

  • FF_ROMAN

  • FF_SCRIPT

  • FF_SWISS

The proper value can be obtained by using the Boolean OR operator to join one pitch constant with one family constant. 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. The values for font families are as follows.

Value Meaning
FF_DECORATIVE Novelty fonts. Old English is an example.
FF_DONTCARE Do not care or do not know
FF_MODERN Fonts with constant stroke width (monospace), with or without serifs. Monospace fonts are usually modern. Pica, Elite, and Courier New are examples.
FF_ROMAN Fonts with variable stroke width (proportional) and with serifs. MS Serif is an example.
FF_SCRIPT Fonts designed to look like handwriting. Script and Cursive are examples.
FF_SWISS Fonts with variable stroke width (proportional) and without serifs. MS Sans Serif is an example.

COM Signature

From uilocale.idl.

[C++]

Applies to