Char
Contents
[
Hide
]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.
Char()
Constructor.
Properties
| Name | Type | Description |
|---|---|---|
| IX | int | The zero-based index of the element within its parent element. |
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| Font | IntValue | Specifies the ID number of the font used to format the text. |
| FontName | StrValue | It specified the font name of the font used to format the text.It is using for visio 2013 |
| Color | ColorValue | When contained in a Char element, the Color element. |
| Style | Style | Specifies the character formatting applied to a range of text in the shape’s text block. |
| Case | Case | Determines the case of a shape’s text. |
| Pos | Pos | Specifies the position of the shape’s text relative to the baseline. |
| FontScale | DoubleValue | Specifies the font width. |
| Locale | StrValue | It specified the locale of the text run for spell-checking purposes. |
| Size | DoubleValue | Specifies the size of the text in the shape’s text block. |
| DblUnderline | BoolValue | Specifies whether the range of text has a double underline below it. |
| Overline | BoolValue | Specifies whether the text has a line above it. |
| Highlight | BoolValue | It specified highlight. |
| Perpendicular | StrValue | It specified whether a text field appears perpendicular to the other text in a text block. |
| Strikethru | BoolValue | Specifies whether the text is formatted as strikethrough. |
| DoubleStrikethrough | BoolValue | Determines whether text is formatted as double strikethrough. |
| RTLText | BoolValue | Determines if the text direction of the current character run is left to right or right to left. |
| UseVertical | BoolValue | Determines whether the character run is vertical or horizontal. |
| Letterspace | DoubleValue | Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increment |
| ColorTrans | DoubleValue | Determines the degree of transparency for a layer or shape’s text color, from 0 (completely opaque) to 1 (completely tra |
| AsianFont | IntValue | Specifies the ID number of the font used to format text containing Asian characters. |
| AsianFontName | StrValue | It specified the asian font name of the font used to format the text.It is using for visio 2013 |
| LocalizeFont | LocalizeFont | Specifies whether the shape text should be localized (translated into another language). |
| IsDoubleUnderline | boolean | Indicating whether the font is double underline. |
| IsSubscript | boolean | Indicating whether the font is subscript. |
| IsSuperscript | boolean | Indicating whether the font is superscript. |
| IsStrikethrough | boolean | Indicating whether the font is strikethrough. |
| IsDoubleStrikethrough | boolean | Indicating whether the font is doubleStrikethrough. |
| IsUnderline | boolean | Indicating whether the font is underline. |
| IsItalic | boolean | Indicating whether the font is italic. |
| IsBold | boolean | Indicating whether the font is bold. |
| ComplexScriptSize | DoubleValue | The size of the font used to format text composed of complex script characters. Complex scripts are languages whose char |
| ComplexScriptFont | IntValue | Contains the number of the font used to format text composed of complex script characters. Complex scripts are languages |
| ComplexScriptFontName | StrValue | It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013 |
| 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 | Creates deep copy of this instance. |