FontSetting
Contents
[
Hide
]FontSetting class
Represents a range of characters within the cell text.
class FontSetting;
Constructors
Name | Description |
---|---|
constructor(number, number, WorksheetCollection) |
Methods
Method | Description |
---|---|
getStartIndex() | Gets the start index of the characters. |
getLength() | Gets the length of the characters. |
getFont() | Returns the font of this object. |
getTextOptions() | Returns the text options. |
setWordArtStyle(PresetWordArtStyle) | Sets the preset WordArt style. |
getType() | Gets the type of text node. |
constructor(number, number, WorksheetCollection)
constructor(startIndex: number, length: number, sheets: WorksheetCollection);
Parameters:
Parameter | Type | Description |
---|---|---|
startIndex | number | |
length | number | |
sheets | WorksheetCollection |
getStartIndex()
Gets the start index of the characters.
getStartIndex() : number;
getLength()
Gets the length of the characters.
getLength() : number;
getFont()
Returns the font of this object.
getFont() : Font;
Returns
getTextOptions()
Returns the text options.
getTextOptions() : TextOptions;
Returns
setWordArtStyle(PresetWordArtStyle)
Sets the preset WordArt style.
setWordArtStyle(style: PresetWordArtStyle) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
style | PresetWordArtStyle | The preset WordArt style. |
Remarks
Only for the text of shape/chart.
getType()
Gets the type of text node.
getType() : TextNodeType;
Returns