PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
FontList (Function)
In french: PoliceListe
Returns the list of valid fonts installed on the current computer (TrueType, Postscript, ...).
Example
// 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
Versions 15 and later
Type of font to list:
fontDefault
(Default value)
Lists the font of display driver.
Versions 23 and later
fontPerFamily
New in version 23
fontPerFamily
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.
fontPrinterLists the font of print driver.

New in version 15
Type of font to list:
fontDefault
(Default value)
Lists the font of display driver.
Versions 23 and later
fontPerFamily
New in version 23
fontPerFamily
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.
fontPrinterLists the font of print driver.

Type of font to list:
fontDefault
(Default value)
Lists the font of display driver.
Versions 23 and later
fontPerFamily
New in version 23
fontPerFamily
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.
fontPrinterLists the font of print driver.

Component: wd270std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment