version 6.0
DR Font number (fontName) Integer
| Parameter | Type | Description | |
| fontName | Text | Name of font | |
| Function result | Integer | Font 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