Home | Sign in | English EN
  • Differences FontCreate and iCreateFont
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Creates a font definition. This font can be used:
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
// Create a font
MyFont is Font
MyFont = FontCreate("Arial", 12, iBold, LightYellow)
// Use this font in the "CustomerName" control
CustomerName.Font = MyFont
<Result> = FontCreate(<Font name> [, <Size> [, <Style> [, <Color> [, <Angle>]]]])
<Result>: Font variable
Font variable that can be used in the different drawing functions, chart functions or print functions that use a font.
<Font name>: Character string
Name of font used. This name must correspond to one of the fonts installed on the current computer.
<Size>: Optional integer
Size of font expressed in picas (1 Pica = 0.353 mm). The font size is set to 12 by default.
<Style>: Optional Integer constant (or combination of constants)
Font attributes:
iBoldBold font
iCondensedCondensed characters
iExtendedExtended characters
iItalicItalic font
iLargeLarge characters
(default value)
Standard font, without attributes
iStrikeOutStrikethrough font
iUnderlinedUnderlined font
<Color>: Optional integer
Color used for the font. If this parameter is not specified, the color used is black.
This color can correspond to:
<Angle>: Optional integer
Angle (in degrees) according to which the text will be printed. The angle is calculated counterclockwise from a horizontal line (trigonometric direction).

Differences FontCreate and iCreateFont

FontCreate creates a font definition that can be used in all the elements of a WINDEV or WEBDEV application. This font is stored in the Font variable and can be used:
iCreateFont creates a font that can be used by the printing functions.
Related Examples:
Font property Unit examples (WEBDEV): Font property
[ + ] This example presents the use of the..Font properties and the use of the FontCreate function.
Component: wd270vm.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment