PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Component
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
gFont (Function)
In french: gPolice
Builds a sequence of characters describing the font that will be used for the text.
Versions 22 and later
Windows This function is now available for WEBDEV sites in Windows.
New in version 22
Windows This function is now available for WEBDEV sites in Windows.
Windows This function is now available for WEBDEV sites in Windows.
Example
Syntax
<Result> = gFont(<Font name> [, <Charset used>])
<Result>: Character string
Sequence of characters describing the font that will be used for the text.
<Font name>: Character string with quotes
Exact name of the font. If this parameter corresponds to an empty string (""), gFont has no effect.
<Charset used>: Optional Integer constant
Constant corresponding to the character set to use. The default character set will be used if this parameter is not specified.
charsetAnsiRoman characters in ANSI standard
charsetArabicArabic characters
charsetBalticBaltic characters
charsetChineseChinese characters (People's Republic of China)
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan)
charsetKoreanKorean characters
charsetDefaultUses the default character set defined for the computer. No character set is forced.
charsetEastEuropeCharacters of Eastern Europe (Polish, ...)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
Versions 20 and later
charsetMac
New in version 20
charsetMac
charsetMac
Characters to the Mac Roman standard (used on the old Macintosh versions).
charsetOccidentalRoman characters in ANSI standard
charsetRussianRussian characters
charsetThaiThai characters
charsetTurkishTurkish characters
charsetVietnameseVietnamese characters
Remarks
  • The default font is restored after the call to this function.
  • All the other characteristics of the font are kept (bold, ...).

Component

Until version 21, gFont was available in the wdxxxobj component. From version 22, this function is now available in the wdxxxmdl component.
Component : wd250mdl.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment