"currentFont"
    
    Changes the font at cursor position.
Synopsis
shape.currentFont(string Font);
Parameters
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| Font | The font , for example "Arial Black,-1,11,5,87,0,0,0,0,0". To find out the font select the option "Font selector" from the Tools menu of the script editor. Select the desired font. The font string is shown in the script editor. | 
Description
Changes the font at cursor position.
Example
Changes the font to Arial Black.
main()
{
  TEXT_EDIT1.currentFont(" Arial Black,-1,11,5,87,0,0,0,0,0");
}
            Assignment
TextEdit
