All docs
V20.1
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
21.2
21.1
20.2
20.1
19.2
19.1
18.2
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
A newer version of this page is available. Switch to the current version.

jQuery/JS Common - Object Structures - ExcelFont

An object that configures the font in an Excel cell.

Type:

Object

bold

Specifies whether the text should be in bold.

Type:

Boolean

color

The text's color in hexadecimal characters.

Type:

String

This property accepts values in the following format: "#RRGGBBAA" where R (red), G (green), B (blue), and A (alpha) are hexadecimal characters (0-9, A-F). A is optional.

italic

Specifies whether the text should be in italic.

Type:

Boolean

name

The name of the typeface that should be applied to the text.

Type:

String

size

The font size specified in points (1/72 of an inch).

Type:

Number

underline

The underline formatting style.

Type:

String

Accepted Values: 'double' | 'doubleAccounting' | 'none' | 'single' | 'singleAccounting'

underline Result
"none"
"single"
"double"
"singleAccounting"
"doubleAccounting"