
## TextOptions class

Represents the text options.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Name](#name) | String | Gets and sets the name of the shape. |
| [LanguageCode](#languagecode) | int | Gets and sets the user interface language. The value of the property is CountryCode integer constant. |
| [LatinName](#latinname) | String | Gets and sets the latin name. |
| [FarEastName](#fareastname) | String | Gets and sets the FarEast name. |
| [Fill](#fill) | FillFormat | Represents the fill format of the text. |
| [Outline](#outline) | LineFormat | Represents the outline format of the text. |
| [Shadow](#shadow) | ShadowEffect | Represents a ShadowEffect object that specifies shadow effect for the chart element or shape. |
| [UnderlineColor](#underlinecolor) | CellsColor | Gets or sets the color of underline. |
| [Kerning](#kerning) | float | Specifies the minimum font size at which character kerning will occur for this text run. |
| [Spacing](#spacing) | float | Specifies the spacing between characters within a text run. |
| [IsNormalizeHeights](#isnormalizeheights) | boolean |  |
| [CapsType](#capstype) | int | The value of the property is TextCapsType integer constant. |
| [Charset](#charset) | int | Represent the character set. |
| [IsItalic](#isitalic) | boolean | Gets or sets a value indicating whether the font is italic. |
| [IsBold](#isbold) | boolean | Gets or sets a value indicating whether the font is bold. |
| [StrikeType](#striketype) | int | Gets the strike type of the text. The value of the property is TextStrikeType integer constant. |
| [IsStrikeout](#isstrikeout) | boolean | Gets or sets a value indicating whether the font is single strikeout. |
| [ScriptOffset](#scriptoffset) | float | Gets and sets the script offset,in unit of percentage |
| [IsSuperscript](#issuperscript) | boolean | Gets or sets a value indicating whether the font is super script. |
| [IsSubscript](#issubscript) | boolean | Gets or sets a value indicating whether the font is subscript. |
| [Underline](#underline) | int | Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant. |
| [DoubleSize](#doublesize) | float | Gets and sets the double size of the font. |
| [Size](#size) | int | Gets or sets the size of the font. |
| [ThemeColor](#themecolor) | ThemeColor | Gets and sets the theme color. If the font color is not a theme color, NULL will be returned. |
| [Color](#color) | Color | Gets or sets the com.aspose.cells.Color of the font. |
| [ArgbColor](#argbcolor) | int | Gets and sets the color with a 32-bit ARGB value. |
| [SchemeType](#schemetype) | int | Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant. |

## Methods

| Name | Description |
| --- | --- |
| [setName](#setname) |  |
| [equals](#equals) | Checks if two fonts are equals. |
| [toString](#tostring) | Returns a string represents the current Cell object. |

### TextOptions.Name property {#name}

Gets and sets the name of the shape.

**Type:** String

### TextOptions.LanguageCode property {#languagecode}

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

**Type:** int

### TextOptions.LatinName property {#latinname}

Gets and sets the latin name.

**Type:** String

### TextOptions.FarEastName property {#fareastname}

Gets and sets the FarEast name.

**Type:** String

### TextOptions.Fill property {#fill}

Represents the fill format of the text.

**Type:** FillFormat

### TextOptions.Outline property {#outline}

Represents the outline format of the text.

**Type:** LineFormat

### TextOptions.Shadow property {#shadow}

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

**Type:** ShadowEffect

### TextOptions.UnderlineColor property {#underlinecolor}

Gets or sets the color of underline.

**Type:** CellsColor

### TextOptions.Kerning property {#kerning}

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

**Type:** float

### TextOptions.Spacing property {#spacing}

Specifies the spacing between characters within a text run.

**Type:** float

### TextOptions.IsNormalizeHeights property {#isnormalizeheights}

**Type:** boolean

### TextOptions.CapsType property {#capstype}

The value of the property is TextCapsType integer constant.

**Type:** int

### TextOptions.Charset property {#charset}

Represent the character set.

**Type:** int

### TextOptions.IsItalic property {#isitalic}

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

**Type:** boolean

### TextOptions.IsBold property {#isbold}

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

**Type:** boolean

### TextOptions.StrikeType property {#striketype}

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

**Type:** int

### TextOptions.IsStrikeout property {#isstrikeout}

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

**Type:** boolean

### TextOptions.ScriptOffset property {#scriptoffset}

Gets and sets the script offset,in unit of percentage

**Type:** float

### TextOptions.IsSuperscript property {#issuperscript}

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

**Type:** boolean

### TextOptions.IsSubscript property {#issubscript}

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

**Type:** boolean

### TextOptions.Underline property {#underline}

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

**Type:** int

### TextOptions.DoubleSize property {#doublesize}

Gets and sets the double size of the font.

**Type:** float

### TextOptions.Size property {#size}

Gets or sets the size of the font.

**Type:** int

### TextOptions.ThemeColor property {#themecolor}

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

**Type:** ThemeColor

### TextOptions.Color property {#color}

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

**Type:** Color

### TextOptions.ArgbColor property {#argbcolor}

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

**Type:** int

### TextOptions.SchemeType property {#schemetype}

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

**Type:** int

### setName(name, type) {#setname}

### equals(font) {#equals}

Checks if two fonts are equals.

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

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

### toString() {#tostring}

Returns a string represents the current Cell object.
