PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
FontList (Function)
In french: PoliceListe
Returns the list of valid fonts installed on the current computer (TrueType, Postscript, ...).
Java Only the fonts supported in Java are listed.
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.
fontPrinterLists the font of print 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.
Note: This constant can be combined with the fontDefault and fontPrinter constants.

Java This parameter is not available. Only the fonts supported in Java are listed.
New in version 15
Type of font to list:
fontDefault
(Default value)
Lists the font of display driver.
fontPrinterLists the font of print 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.
Note: This constant can be combined with the fontDefault and fontPrinter constants.

Java This parameter is not available. Only the fonts supported in Java are listed.
Type of font to list:
fontDefault
(Default value)
Lists the font of display driver.
fontPrinterLists the font of print 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.
Note: This constant can be combined with the fontDefault and fontPrinter constants.

Java This parameter is not available. Only the fonts supported in Java are listed.
Remarks
To display the list of fonts in a List Box or (Combo Box) control, use the syntax:
ListAdd(<Name of List Box control>, <Result)
Component : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment