Returns the list of valid fonts installed on the current computer (TrueType, Postscript, ...).
// List fonts in an information window
Info(FontList())
// List fonts in a List Box control
ListAdd(LIST_FontList, FontList())
Syntax
<Result> = FontList([<Font Type>])
<Result>: Character string
List of fonts in the following format:
<Font 1> + CR + ... + <Font N>
Where <Font 1> .. <Font N> corresponds to the name of font.
<Font Type>: Optional Integer constant
Type of font to list:
| |
fontDefault (Default value) | Lists the font of display driver. |
fontPerFamily | Lists the available families of fonts. The families of fonts are listed in alphabetical order. The language variations are not listed. Remark: This constant can be combined with the fontDefault and fontPrinter constants. |
fontPrinter | Lists the font of print driver. |