DR Font number

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

version 6.0


DR Font number (fontName) Integer

ParameterTypeDescription
fontNameTextName of font
Function resultIntegerFont ID

Description

The command DR Font number returns the integer ID for the font named fontName. The ID is used in the DR SET TEXT ATTRIBUTES command.

Example

The following example changes the font of the currently selected objects in Area to Times.

   $FontNum:=DR Font number ("Times")
   DR SET TEXT ATTRIBUTES (Area;0;$FontNum;-1;-1;-1;-1;-1)

See Also

DR Font name.


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