FontSetting

FontSetting class

Represents a range of characters within the cell text.

new FontSetting(startIndex, length, sheets)

Methods

NameDescription
getFont()Returns the font of this object.
getLength()Gets the length of the characters.
getStartIndex()Gets the start index of the characters.
getTextOptions()Returns the text options.
getType()Gets the type of text node. The value of the property is TextNodeType integer constant.
setWordArtStyle(style)Sets the preset WordArt style. Only for the text of shape/chart.

getFont()

Returns the font of this object.

getLength()

Gets the length of the characters.

getStartIndex()

Gets the start index of the characters.

getTextOptions()

Returns the text options.

getType()

Gets the type of text node. The value of the property is TextNodeType integer constant.

setWordArtStyle(style)

Sets the preset WordArt style. Only for the text of shape/chart.

ParameterTypeDescription
styleNumberPresetWordArtStyle