ScriptUI.newFont

ScriptUIFont newFont (String name, String style, Number size)

Parameters

name The font name, or the font family name.
style The font style; can be string, or one of the values of?ScriptUI.FontStyle.
size The font size in points.

Description

Creates a new font object for use in text controls and titles.