FontSetPitchAndFamilyΒΆ
FontSetPitchAndFamily specifies the pitch and family of the font.
- bool = FontSetPitchAndFamily(hFont, rsPitchAndFamily)
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
- hFont
Identifies the font.
- rsPitchAndFamily
rsPitchAndFamily is one of the following values:
Value
Meaning
DEFAULT_PITCH
Character width not set
FIXED_PITCH
Font with constant width
VARIABLE_PITCH
font with variable width
and one of the following family values:
Value
Meaning
FF_DONTCARE
Non classified font
FF_ROMAN
Serif fonts (Times Roman, Century, Schoolbook, etc.)
FF_SWISS
Fonts without Serifs but with variable line width (Helvetica, Swiss, etc.)
FF_MODERN
Font without Serifs with constant widths (Pica, Elite Courier, ect.)
FF_SCRIPT
Scriptlike font (Cursive, etc.)
FF_DECORATIVE
Decorative font (Old English, etc.)
See also
Overview Fonts, FontCreate, FontDialog, FontGetPitchAndFamily
id-406179