Style.fontSize

Property Description

The font size of the style.

Type

workbook.FontSize | string

Module

N/workbook Module

Parent Object

workbook.Style

Sibling Object Members

Style Object Members

Since

2021.2

Errors

Error Code

Thrown If

INVALID_FONT_SIZE

The value of this property is a string but is not included in the workbook.FontSize enum.

WRONG_PARAMETER_TYPE

The value specified for this property is not a workbook.FontSize object or a string.

Related Topics

General Notices