Char class
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.
The Char type exposes the following members:
Constructors
Constructor | Description |
---|---|
Char() | Constructor. |
Properties
Property | Description |
---|---|
ix | The zero-based index of the element within its parent element. |
font | Specifies the ID number of the font used to format the text. |
font_name | It specified the font name of the font used to format the text.It is using for visio 2013 |
color | When contained in a Char element, the Color element. |
style | Specifies the character formatting applied to a range of text in the shape’s text block. |
case | Determines the case of a shape’s text. |
pos | Specifies the position of the shape’s text relative to the baseline. |
font_scale | Specifies the font width. |
locale | It specified the locale of the text run for spell-checking purposes. |
size | Specifies the size of the text in the shape’s text block. |
dbl_underline | Specifies whether the range of text has a double underline below it. |
overline | Specifies whether the text has a line above it. |
highlight | It specified highlight. |
perpendicular | It specified whether a text field appears perpendicular to the other text in a text block. |
strikethru | Specifies whether the text is formatted as strikethrough. |
double_strikethrough | Determines whether text is formatted as double strikethrough. |
rtl_text | Determines if the text direction of the current character run is left to right or right to left. |
use_vertical | Determines whether the character run is vertical or horizontal. |
letterspace | Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments. |
color_trans | Determines the degree of transparency for a layer or shape’s text color, from 0 (completely opaque) to 1 (completely transparent). |
asian_font | Specifies the ID number of the font used to format text containing Asian characters. |
asian_font_name | It specified the asian font name of the font used to format the text.It is using for visio 2013 |
localize_font | Specifies whether the shape text should be localized (translated into another language). |
is_double_underline | Indicating whether the font is double underline. |
is_subscript | Indicating whether the font is subscript. |
is_superscript | Indicating whether the font is superscript. |
is_strikethrough | Indicating whether the font is strikethrough. |
is_double_strikethrough | Indicating whether the font is doubleStrikethrough. |
is_underline | Indicating whether the font is underline. |
is_italic | Indicating whether the font is italic. |
is_bold | Indicating whether the font is bold. |
complex_script_size | 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. |
complex_script_font | 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. |
complex_script_font_name | It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013 |
lang_id | 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. |
Methods
Method | Description |
---|---|
clone() | Creates deep copy of this instance. |
See Also
- module aspose.diagram