FontGetPitchAndFamilyΒΆ
FontGetPitchAndFamily gets the font pitch and family.
-
rsPitchAndFamily = FontGetPitchAndFamily(hFont)
Return Value
rsPitchAndFamily specifies the pitch and family of the font. It can be 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: |
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.) |
Parameters
-
hFont
Identifies the font.
See also
Overview Fonts, FontCreate, FontDialog, FontSetPitchAndFamily
id-401059