
## TextOptions class

Represents the text options.

## Methods

| Name | Description |
| --- | --- |
| [equals(font)](#equals) | Checks if two fonts are equals. |
| [getArgbColor()](#getargbcolor) | Gets and sets the color with a 32-bit ARGB value. |
| [getCapsType()](#getcapstype) | The value of the property is TextCapsType integer constant. |
| [getCharset()](#getcharset) | Represent the character set. |
| [getColor()](#getcolor) | Gets or sets the com.aspose.cells.Color of the font. |
| [getDoubleSize()](#getdoublesize) | Gets and sets the double size of the font. |
| [getFarEastName()](#getfareastname) | Gets and sets the FarEast name. |
| [getFill()](#getfill) | Represents the fill format of the text. |
| [getKerning()](#getkerning) | Specifies the minimum font size at which character kerning will occur for this text run. |
| [getLanguageCode()](#getlanguagecode) | Gets and sets the user interface language. The value of the property is CountryCode integer constant. |
| [getLatinName()](#getlatinname) | Gets and sets the latin name. |
| [getName()](#getname) | Gets and sets the name of the shape. |
| [getOutline()](#getoutline) | Represents the outline format of the text. |
| [getSchemeType()](#getschemetype) | Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant. |
| [getScriptOffset()](#getscriptoffset) | Gets and sets the script offset,in unit of percentage |
| [getShadow()](#getshadow) | Represents a ShadowEffect object that specifies shadow effect for the chart element or shape. |
| [getSize()](#getsize) | Gets or sets the size of the font. |
| [getSpacing()](#getspacing) | Specifies the spacing between characters within a text run. |
| [getStrikeType()](#getstriketype) | Gets the strike type of the text. The value of the property is TextStrikeType integer constant. |
| [getThemeColor()](#getthemecolor) | Gets and sets the theme color. If the font color is not a theme color, NULL will be returned. |
| [getUnderline()](#getunderline) | Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant. |
| [getUnderlineColor()](#getunderlinecolor) | Gets or sets the color of underline. |
| [isBold()](#isbold) | Gets or sets a value indicating whether the font is bold. |
| [isItalic()](#isitalic) | Gets or sets a value indicating whether the font is italic. |
| [isNormalizeHeights()](#isnormalizeheights) |  |
| [isStrikeout()](#isstrikeout) | Gets or sets a value indicating whether the font is single strikeout. |
| [isSubscript()](#issubscript) | Gets or sets a value indicating whether the font is subscript. |
| [isSuperscript()](#issuperscript) | Gets or sets a value indicating whether the font is super script. |
| [setArgbColor()](#setargbcolor) | Gets and sets the color with a 32-bit ARGB value. |
| [setBold()](#setbold) | Gets or sets a value indicating whether the font is bold. |
| [setCapsType()](#setcapstype) | The value of the property is TextCapsType integer constant. |
| [setCharset()](#setcharset) | Represent the character set. |
| [setColor()](#setcolor) | Gets or sets the com.aspose.cells.Color of the font. |
| [setDoubleSize()](#setdoublesize) | Gets and sets the double size of the font. |
| [setFarEastName()](#setfareastname) | Gets and sets the FarEast name. |
| [setItalic()](#setitalic) | Gets or sets a value indicating whether the font is italic. |
| [setKerning()](#setkerning) | Specifies the minimum font size at which character kerning will occur for this text run. |
| [setLanguageCode()](#setlanguagecode) | Gets and sets the user interface language. The value of the property is CountryCode integer constant. |
| [setLatinName()](#setlatinname) | Gets and sets the latin name. |
| [setName()](#setname) | Gets and sets the name of the shape. |
| [setName()](#setname-1) |  |
| [setNormalizeHeights()](#setnormalizeheights) |  |
| [setSchemeType()](#setschemetype) | Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant. |
| [setScriptOffset()](#setscriptoffset) | Gets and sets the script offset,in unit of percentage |
| [setSize()](#setsize) | Gets or sets the size of the font. |
| [setSpacing()](#setspacing) | Specifies the spacing between characters within a text run. |
| [setStrikeType()](#setstriketype) | Gets the strike type of the text. The value of the property is TextStrikeType integer constant. |
| [setStrikeout()](#setstrikeout) | Gets or sets a value indicating whether the font is single strikeout. |
| [setSubscript()](#setsubscript) | Gets or sets a value indicating whether the font is subscript. |
| [setSuperscript()](#setsuperscript) | Gets or sets a value indicating whether the font is super script. |
| [setThemeColor()](#setthemecolor) | Gets and sets the theme color. If the font color is not a theme color, NULL will be returned. |
| [setUnderline()](#setunderline) | Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant. |
| [setUnderlineColor()](#setunderlinecolor) | Gets or sets the color of underline. |
| [toString()](#tostring) | Returns a string represents the current Cell object. |

### equals(font) {#equals}

Checks if two fonts are equals.

| Parameter | Type | Description |
| --- | --- | --- |
| font | Font | Compared font object. |

**Returns:** boolean — `boolean` True if equal to the compared font object.

### getArgbColor() {#getargbcolor}

Gets and sets the color with a 32-bit ARGB value.

### getCapsType() {#getcapstype}

The value of the property is TextCapsType integer constant.

### getCharset() {#getcharset}

Represent the character set.

### getColor() {#getcolor}

Gets or sets the com.aspose.cells.Color of the font.

### getDoubleSize() {#getdoublesize}

Gets and sets the double size of the font.

### getFarEastName() {#getfareastname}

Gets and sets the FarEast name.

### getFill() {#getfill}

Represents the fill format of the text.

### getKerning() {#getkerning}

Specifies the minimum font size at which character kerning will occur for this text run.

### getLanguageCode() {#getlanguagecode}

Gets and sets the user interface language. The value of the property is CountryCode integer constant.

### getLatinName() {#getlatinname}

Gets and sets the latin name.

### getName() {#getname}

Gets and sets the name of the shape.

### getOutline() {#getoutline}

Represents the outline format of the text.

### getSchemeType() {#getschemetype}

Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.

### getScriptOffset() {#getscriptoffset}

Gets and sets the script offset,in unit of percentage

### getShadow() {#getshadow}

Represents a ShadowEffect object that specifies shadow effect for the chart element or shape.

### getSize() {#getsize}

Gets or sets the size of the font.

### getSpacing() {#getspacing}

Specifies the spacing between characters within a text run.

### getStrikeType() {#getstriketype}

Gets the strike type of the text. The value of the property is TextStrikeType integer constant.

### getThemeColor() {#getthemecolor}

Gets and sets the theme color. If the font color is not a theme color, NULL will be returned.

### getUnderline() {#getunderline}

Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.

### getUnderlineColor() {#getunderlinecolor}

Gets or sets the color of underline.

### isBold() {#isbold}

Gets or sets a value indicating whether the font is bold.

### isItalic() {#isitalic}

Gets or sets a value indicating whether the font is italic.

### isNormalizeHeights() {#isnormalizeheights}

### isStrikeout() {#isstrikeout}

Gets or sets a value indicating whether the font is single strikeout.

### isSubscript() {#issubscript}

Gets or sets a value indicating whether the font is subscript.

### isSuperscript() {#issuperscript}

Gets or sets a value indicating whether the font is super script.

### setArgbColor() {#setargbcolor}

Gets and sets the color with a 32-bit ARGB value.

### setBold() {#setbold}

Gets or sets a value indicating whether the font is bold.

### setCapsType() {#setcapstype}

The value of the property is TextCapsType integer constant.

### setCharset() {#setcharset}

Represent the character set.

### setColor() {#setcolor}

Gets or sets the com.aspose.cells.Color of the font.

### setDoubleSize() {#setdoublesize}

Gets and sets the double size of the font.

### setFarEastName() {#setfareastname}

Gets and sets the FarEast name.

### setItalic() {#setitalic}

Gets or sets a value indicating whether the font is italic.

### setKerning() {#setkerning}

Specifies the minimum font size at which character kerning will occur for this text run.

### setLanguageCode() {#setlanguagecode}

Gets and sets the user interface language. The value of the property is CountryCode integer constant.

### setLatinName() {#setlatinname}

Gets and sets the latin name.

### setName() {#setname}

Gets and sets the name of the shape.

### setName() {#setname-1}

### setNormalizeHeights() {#setnormalizeheights}

### setSchemeType() {#setschemetype}

Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.

### setScriptOffset() {#setscriptoffset}

Gets and sets the script offset,in unit of percentage

### setSize() {#setsize}

Gets or sets the size of the font.

### setSpacing() {#setspacing}

Specifies the spacing between characters within a text run.

### setStrikeType() {#setstriketype}

Gets the strike type of the text. The value of the property is TextStrikeType integer constant.

### setStrikeout() {#setstrikeout}

Gets or sets a value indicating whether the font is single strikeout.

### setSubscript() {#setsubscript}

Gets or sets a value indicating whether the font is subscript.

### setSuperscript() {#setsuperscript}

Gets or sets a value indicating whether the font is super script.

### setThemeColor() {#setthemecolor}

Gets and sets the theme color. If the font color is not a theme color, NULL will be returned.

### setUnderline() {#setunderline}

Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.

### setUnderlineColor() {#setunderlinecolor}

Gets or sets the color of underline.

### toString() {#tostring}

Returns a string represents the current Cell object.

**Returns:** String — `String`
