Win32Prn() > Font methods |
Queries or changes the font weight for bold printing.
:bold( [<nNewFontWeight>] ) --> nOldFontWeight
Constants for font weights
Constant | Value |
---|---|
FW_DONTCARE | 0 |
FW_THIN | 100 |
FW_EXTRALIGHT | 200 |
FW_LIGHT | 300 |
FW_NORMAL | 400 |
FW_MEDIUM | 500 |
FW_SEMIBOLD | 600 |
FW_BOLD | 700 |
FW_EXTRABOLD | 800 |
FW_HEAVY | 900 |
Method :bold() returns the currently defined font weight used for bold printing as a numeric value. When <nNewFontWeight> is specified, the new font weight is set during printing.
http://www.xHarbour.com