Specifies a font and font attributes. To see the height a weight values of a specified font, record your actions as you specify a font and font attributes.
AFTKN_SET_FONT or 583
VOID FontSet(ANSISTRING FaceName;
[DWORD Height];
[DWORD Weight];
[ENUM Underline];
[ENUM Italic];
[WORD CharSet];
[ENUM Strikeout];
[DWORD Color])
Name of font.
(Optional) Font height in pixels: 65535N (where N is the height in pixels). Cell height: 0-32767. Character height including ascender and descender: 32768-65535.
(Optional) Font weight. Some fonts have only three weights: Normal, Regular, and Bold.
|
100 |
THIN |
|
200 |
EXTRATHIN |
|
300 |
ULTRALIGHT |
|
400 |
NORMAL |
|
400 |
REGULAR |
|
500 |
MEDIUM |
|
600 |
SEMIBOLD |
|
600 |
DEMIBOLD |
|
700 |
BOLD |
|
800 |
EXTRABOLD |
|
800 |
ULTRABOLD |
|
900 |
BLACK |
|
900 |
HEAVY |
(Optional) Enumerated values:
(Optional) Enumerated values:
(Optional) Asian versions only.
(Optional) Enumerated values:
(Optional) Use RGB values.