UIDLGLOGFONT::lfPitchAndFamily Field
Specifies the pitch and family of the font.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
public: [ComAliasNameAttribute("Microsoft.VisualStudio.TextManager.Interop.BYTE")] unsigned char lfPitchAndFamily
Field Value
Type: System::ByteThe 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. |
From uilocale.idl.
[C++]