
## Char class

Contains the formatting attributes for the shape's text, such as font, color, text style, case, position relative to the baseline, and point size.

## Constructors

| Name | Description |
| --- | --- |
| [Char](#constructor) | Constructor. |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [IX](#ix) | int | The zero-based index of the element within its parent element. |
| [Del](#del) | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [Font](#font) | IntValue | Specifies the ID number of the font used to format the text. |
| [FontName](#fontname) | StrValue | It specified the font name of the font used to format the text.It is using for visio 2013 |
| [Color](#color) | ColorValue | When contained in a Char element, the Color element. |
| [Style](#style) | Style | Specifies the character formatting applied to a range of text in the shape's text block. |
| [Case](#case) | Case | Determines the case of a shape's text. |
| [Pos](#pos) | Pos | Specifies the position of the shape's text relative to the baseline. |
| [FontScale](#fontscale) | DoubleValue | Specifies the font width. |
| [Locale](#locale) | StrValue | It specified the locale of the text run for spell-checking purposes. |
| [Size](#size) | DoubleValue | Specifies the size of the text in the shape's text block. |
| [DblUnderline](#dblunderline) | BoolValue | Specifies whether the range of text has a double underline below it. |
| [Overline](#overline) | BoolValue | Specifies whether the text has a line above it. |
| [Highlight](#highlight) | BoolValue | It specified highlight. |
| [Perpendicular](#perpendicular) | StrValue | It specified whether a text field appears perpendicular to the other text in a text block. |
| [Strikethru](#strikethru) | BoolValue | Specifies whether the text is formatted as strikethrough. |
| [DoubleStrikethrough](#doublestrikethrough) | BoolValue | Determines whether text is formatted as double strikethrough. |
| [RTLText](#rtltext) | BoolValue | Determines if the text direction of the current character run is left to right or right to left. |
| [UseVertical](#usevertical) | BoolValue | Determines whether the character run is vertical or horizontal. |
| [Letterspace](#letterspace) | DoubleValue | Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increment |
| [ColorTrans](#colortrans) | DoubleValue | Determines the degree of transparency for a layer or shape's text color, from 0 (completely opaque) to 1 (completely tra |
| [AsianFont](#asianfont) | IntValue | Specifies the ID number of the font used to format text containing Asian characters. |
| [AsianFontName](#asianfontname) | StrValue | It specified the asian font name of the font used to format the text.It is using for visio 2013 |
| [LocalizeFont](#localizefont) | LocalizeFont | Specifies whether the shape text should be localized (translated into another language). |
| [IsDoubleUnderline](#isdoubleunderline) | boolean | Indicating whether the font is double underline. |
| [IsSubscript](#issubscript) | boolean | Indicating whether the font is subscript. |
| [IsSuperscript](#issuperscript) | boolean | Indicating whether the font is superscript. |
| [IsStrikethrough](#isstrikethrough) | boolean | Indicating whether the font is strikethrough. |
| [IsDoubleStrikethrough](#isdoublestrikethrough) | boolean | Indicating whether the font is doubleStrikethrough. |
| [IsUnderline](#isunderline) | boolean | Indicating whether the font is underline. |
| [IsItalic](#isitalic) | boolean | Indicating whether the font is italic. |
| [IsBold](#isbold) | boolean | Indicating whether the font is bold. |
| [ComplexScriptSize](#complexscriptsize) | DoubleValue | The size of the font used to format text composed of complex script characters. Complex scripts are languages whose char |
| [ComplexScriptFont](#complexscriptfont) | IntValue | Contains the number of the font used to format text composed of complex script characters. Complex scripts are languages |
| [ComplexScriptFontName](#complexscriptfontname) | StrValue | It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013 |
| [LangID](#langid) | IntValue | Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. |

## Methods

| Name | Description |
| --- | --- |
| [deepClone](#deepclone) | Creates deep copy of this instance. |

### Char() {#constructor}

Constructor.

### Char.IX property {#ix}

The zero-based index of the element within its parent element.

**Type:** int

### Char.Del property {#del}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

**Type:** int

### Char.Font property {#font}

Specifies the ID number of the font used to format the text.

**Type:** IntValue

### Char.FontName property {#fontname}

It specified the font name of the font used to format the text.It is using for visio 2013

**Type:** StrValue

### Char.Color property {#color}

When contained in a Char element, the Color element.

**Type:** ColorValue

### Char.Style property {#style}

Specifies the character formatting applied to a range of text in the shape's text block.

**Type:** Style

### Char.Case property {#case}

Determines the case of a shape's text.

**Type:** Case

### Char.Pos property {#pos}

Specifies the position of the shape's text relative to the baseline.

**Type:** Pos

### Char.FontScale property {#fontscale}

Specifies the font width.

**Type:** DoubleValue

### Char.Locale property {#locale}

It specified the locale of the text run for spell-checking purposes.

**Type:** StrValue

### Char.Size property {#size}

Specifies the size of the text in the shape's text block.

**Type:** DoubleValue

### Char.DblUnderline property {#dblunderline}

Specifies whether the range of text has a double underline below it.

**Type:** BoolValue

### Char.Overline property {#overline}

Specifies whether the text has a line above it.

**Type:** BoolValue

### Char.Highlight property {#highlight}

It specified highlight.

**Type:** BoolValue

### Char.Perpendicular property {#perpendicular}

It specified whether a text field appears perpendicular to the other text in a text block.

**Type:** StrValue

### Char.Strikethru property {#strikethru}

Specifies whether the text is formatted as strikethrough.

**Type:** BoolValue

### Char.DoubleStrikethrough property {#doublestrikethrough}

Determines whether text is formatted as double strikethrough.

**Type:** BoolValue

### Char.RTLText property {#rtltext}

Determines if the text direction of the current character run is left to right or right to left.

**Type:** BoolValue

### Char.UseVertical property {#usevertical}

Determines whether the character run is vertical or horizontal.

**Type:** BoolValue

### Char.Letterspace property {#letterspace}

Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments.

**Type:** DoubleValue

### Char.ColorTrans property {#colortrans}

Determines the degree of transparency for a layer or shape's text color, from 0 (completely opaque) to 1 (completely transparent).

**Type:** DoubleValue

### Char.AsianFont property {#asianfont}

Specifies the ID number of the font used to format text containing Asian characters.

**Type:** IntValue

### Char.AsianFontName property {#asianfontname}

It specified the asian font name of the font used to format the text.It is using for visio 2013

**Type:** StrValue

### Char.LocalizeFont property {#localizefont}

Specifies whether the shape text should be localized (translated into another language).

**Type:** LocalizeFont

### Char.IsDoubleUnderline property {#isdoubleunderline}

Indicating whether the font is double underline.

**Type:** boolean

### Char.IsSubscript property {#issubscript}

Indicating whether the font is subscript.

**Type:** boolean

### Char.IsSuperscript property {#issuperscript}

Indicating whether the font is superscript.

**Type:** boolean

### Char.IsStrikethrough property {#isstrikethrough}

Indicating whether the font is strikethrough.

**Type:** boolean

### Char.IsDoubleStrikethrough property {#isdoublestrikethrough}

Indicating whether the font is doubleStrikethrough.

**Type:** boolean

### Char.IsUnderline property {#isunderline}

Indicating whether the font is underline.

**Type:** boolean

### Char.IsItalic property {#isitalic}

Indicating whether the font is italic.

**Type:** boolean

### Char.IsBold property {#isbold}

Indicating whether the font is bold.

**Type:** boolean

### Char.ComplexScriptSize property {#complexscriptsize}

The size of the font used to format text composed of complex script characters. Complex scripts are languages whose characters require ligation or shaping, such as the right-to-left languages (Arabic, Farsi, Hebrew, and Urdu) and several South Asian languages.

**Type:** DoubleValue

### Char.ComplexScriptFont property {#complexscriptfont}

Contains the number of the font used to format text composed of complex script characters. Complex scripts are languages whose characters require ligation or shaping, such as the right-to-left languages (Arabic, Farsi, Hebrew, and Urdu) and several South Asian languages.

**Type:** IntValue

### Char.ComplexScriptFontName property {#complexscriptfontname}

It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013

**Type:** StrValue

### Char.LangID property {#langid}

Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. For a list of languages supported by Microsoft Office applications and their corresponding language IDs, see the DocLangID element.

**Type:** IntValue

### deepClone() {#deepclone}

Creates deep copy of this instance.
