aspose.diagram
Class Char

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

Constructor Summary
Char()
           Constructor.
 
Property Getters/Setters Summary
functiongetAsianFont()
functionsetAsianFont(value)
           Specifies the ID number of the font used to format text containing Asian characters.
functiongetAsianFontName()
functionsetAsianFontName(value)
           It specified the asian font name of the font used to format the text.It is using for visio 2013
functiongetCase()
functionsetCase(value)
           Determines the case of a shape's text.
functiongetColor()
functionsetColor(value)
           When contained in a Char element, the Color element.
functiongetColorTrans()
functionsetColorTrans(value)
           Determines the degree of transparency for a layer or shape's text color, from 0 (completely opaque) to 1 (completely transparent).
functiongetComplexScriptFont()
functionsetComplexScriptFont(value)
           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.
functiongetComplexScriptFontName()
functionsetComplexScriptFontName(value)
           It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013
functiongetComplexScriptSize()
functionsetComplexScriptSize(value)
           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.
functiongetDblUnderline()
functionsetDblUnderline(value)
           Specifies whether the range of text has a double underline below it.
functiongetDel()
functionsetDel(value)
           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.
functiongetDoubleStrikethrough()
functionsetDoubleStrikethrough(value)
           Determines whether text is formatted as double strikethrough.
functiongetFont()
functionsetFont(value)
           Specifies the ID number of the font used to format the text.
functiongetFontName()
functionsetFontName(value)
           It specified the font name of the font used to format the text.It is using for visio 2013
functiongetFontScale()
functionsetFontScale(value)
           Specifies the font width.
functiongetHighlight()
functionsetHighlight(value)
           It specified highlight.
functionisBold()
           Indicating whether the font is bold.
functionisDoubleStrikethrough()
           Indicating whether the font is doubleStrikethrough.
functionisDoubleUnderline()
           Indicating whether the font is double underline.
functionisItalic()
           Indicating whether the font is italic.
functionisStrikethrough()
           Indicating whether the font is strikethrough.
functionisSubscript()
           Indicating whether the font is subscript.
functionisSuperscript()
           Indicating whether the font is superscript.
functionisUnderline()
           Indicating whether the font is underline.
functiongetIX()
functionsetIX(value)
           The zero-based index of the element within its parent element.
functiongetLangID()
functionsetLangID(value)
           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.
functiongetLetterspace()
functionsetLetterspace(value)
           Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments.
functiongetLocale()
functionsetLocale(value)
           It specified the locale of the text run for spell-checking purposes.
functiongetLocalizeFont()
functionsetLocalizeFont(value)
           Specifies whether the shape text should be localized (translated into another language).
functiongetOverline()
functionsetOverline(value)
           Specifies whether the text has a line above it.
functiongetPerpendicular()
functionsetPerpendicular(value)
           It specified whether a text field appears perpendicular to the other text in a text block.
functiongetPos()
functionsetPos(value)
           Specifies the position of the shape's text relative to the baseline.
functiongetRTLText()
functionsetRTLText(value)
           Determines if the text direction of the current character run is left to right or right to left.
functiongetSize()
functionsetSize(value)
           Specifies the size of the text in the shape's text block.
functiongetStrikethru()
functionsetStrikethru(value)
           Specifies whether the text is formatted as strikethrough.
functiongetStyle()
functionsetStyle(value)
           Specifies the character formatting applied to a range of text in the shape's text block.
functiongetUseVertical()
functionsetUseVertical(value)
           Determines whether the character run is vertical or horizontal.
 
Method Summary
functiondeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Char

function Char()
Constructor.

Property Getters/Setters Detail

getIX/setIX : Number 

function getIX() / function setIX(value)
The zero-based index of the element within its parent element.

getDel/setDel : Number 

function getDel() / function setDel(value)
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.

getFont/setFont : IntValue 

function getFont() / function setFont(value)
Specifies the ID number of the font used to format the text.

getFontName/setFontName : StrValue 

function getFontName() / function setFontName(value)
It specified the font name of the font used to format the text.It is using for visio 2013

getColor/setColor : ColorValue 

function getColor() / function setColor(value)
When contained in a Char element, the Color element.

getStyle/setStyle : Style 

function getStyle() / function setStyle(value)
Specifies the character formatting applied to a range of text in the shape's text block.

getCase/setCase : Case 

function getCase() / function setCase(value)
Determines the case of a shape's text.

getPos/setPos : Pos 

function getPos() / function setPos(value)
Specifies the position of the shape's text relative to the baseline.

getFontScale/setFontScale : DoubleValue 

function getFontScale() / function setFontScale(value)
Specifies the font width.

getLocale/setLocale : StrValue 

function getLocale() / function setLocale(value)
It specified the locale of the text run for spell-checking purposes.

getSize/setSize : DoubleValue 

function getSize() / function setSize(value)
Specifies the size of the text in the shape's text block.

getDblUnderline/setDblUnderline : BoolValue 

function getDblUnderline() / function setDblUnderline(value)
Specifies whether the range of text has a double underline below it.

getOverline/setOverline : BoolValue 

function getOverline() / function setOverline(value)
Specifies whether the text has a line above it.

getHighlight/setHighlight : BoolValue 

function getHighlight() / function setHighlight(value)
It specified highlight.

getPerpendicular/setPerpendicular : StrValue 

function getPerpendicular() / function setPerpendicular(value)
It specified whether a text field appears perpendicular to the other text in a text block.

getStrikethru/setStrikethru : BoolValue 

function getStrikethru() / function setStrikethru(value)
Specifies whether the text is formatted as strikethrough.

getDoubleStrikethrough/setDoubleStrikethrough : BoolValue 

function getDoubleStrikethrough() / function setDoubleStrikethrough(value)
Determines whether text is formatted as double strikethrough.

getRTLText/setRTLText : BoolValue 

function getRTLText() / function setRTLText(value)
Determines if the text direction of the current character run is left to right or right to left.

getUseVertical/setUseVertical : BoolValue 

function getUseVertical() / function setUseVertical(value)
Determines whether the character run is vertical or horizontal.

getLetterspace/setLetterspace : DoubleValue 

function getLetterspace() / function setLetterspace(value)
Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments.

getColorTrans/setColorTrans : DoubleValue 

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

getAsianFont/setAsianFont : IntValue 

function getAsianFont() / function setAsianFont(value)
Specifies the ID number of the font used to format text containing Asian characters.

getAsianFontName/setAsianFontName : StrValue 

function getAsianFontName() / function setAsianFontName(value)
It specified the asian font name of the font used to format the text.It is using for visio 2013

getLocalizeFont/setLocalizeFont : LocalizeFont 

function getLocalizeFont() / function setLocalizeFont(value)
Specifies whether the shape text should be localized (translated into another language).

isDoubleUnderline : boolean 

function isDoubleUnderline()
Indicating whether the font is double underline.

isSubscript : boolean 

function isSubscript()
Indicating whether the font is subscript.

isSuperscript : boolean 

function isSuperscript()
Indicating whether the font is superscript.

isStrikethrough : boolean 

function isStrikethrough()
Indicating whether the font is strikethrough.

isDoubleStrikethrough : boolean 

function isDoubleStrikethrough()
Indicating whether the font is doubleStrikethrough.

isUnderline : boolean 

function isUnderline()
Indicating whether the font is underline.

isItalic : boolean 

function isItalic()
Indicating whether the font is italic.

isBold : boolean 

function isBold()
Indicating whether the font is bold.

getComplexScriptSize/setComplexScriptSize : DoubleValue 

function getComplexScriptSize() / function setComplexScriptSize(value)
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.

getComplexScriptFont/setComplexScriptFont : IntValue 

function getComplexScriptFont() / function setComplexScriptFont(value)
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.

getComplexScriptFontName/setComplexScriptFontName : StrValue 

function getComplexScriptFontName() / function setComplexScriptFontName(value)
It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013

getLangID/setLangID : IntValue 

function getLangID() / function setLangID(value)
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.

Method Detail

deepClone

function deepClone()
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.