Font name

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


Font name (fontNumber) String

ParameterTypeDescription
fontNumberLongintFont number for which to return the font name
Function resultStringFont name

Description

The Font name command returns the name of the font whose number is fontNumber. If there is no available font with that number, the command returns an empty string.

Examples

1. To display a form object with the default system font, you write:

   FONT(myObject;Font name(0))  ` 0 is the font number of the default system font

2. To display a form object with the default application font, you write:

   FONT(myObject;Font name(1))  ` 1 is the font number of the default application font

See Also

FONT LIST, Font number.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next