Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the pitch and family of the font.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public lfPitchAndFamily As Byte
public byte lfPitchAndFamily
public:
unsigned char lfPitchAndFamily
val mutable lfPitchAndFamily: byte
public var lfPitchAndFamily : byte
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++]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.