Class Char

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.

public class Char : ICloneable

Constructors

NameDescription
Char()Constructor.

Properties

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

Methods

NameDescription
Clone()Creates deep copy of this instance.

See Also