PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 the fonts in an information window
Info(FontList())
// List the fonts in a list
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
The following syntax is used to display the list of fonts in a list box or combo box:
ListAdd(<Name of List Box Control>, <Result>)
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Java wd230java.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment