SetFontSize
function SetFontSize(nSize: number = null): void
Description
Sets the font size to the characters of the current cell range.
Parameters
- nSize
number
null The font size value measured in points.
Returns
void
Try It
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A2").SetValue("2");
var oRange = oWorksheet.GetRange("A1:D5");
oRange.SetFontSize(20);