com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Char
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.h
    public class Char 
    extends java.lang.Object

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
IntValuegetAsianFont()
void
Specifies the ID number of the font used to format text containing Asian characters.
StrValuegetAsianFontName()
void
It specified the asian font name of the font used to format the text.It is using for visio 2013
CasegetCase()
void
setCase(Case value)
Determines the case of a shape's text.
ColorValuegetColor()
void
When contained in a Char element, the Color element.
DoubleValuegetColorTrans()
void
Determines the degree of transparency for a layer or shape's text color, from 0 (completely opaque) to 1 (completely transparent).
IntValuegetComplexScriptFont()
void
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.
StrValuegetComplexScriptFontName()
void
It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013
DoubleValuegetComplexScriptSize()
void
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.
BoolValuegetDblUnderline()
void
Specifies whether the range of text has a double underline below it.
intgetDel()
void
setDel(intvalue)
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.
BoolValuegetDoubleStrikethrough()
void
Determines whether text is formatted as double strikethrough.
IntValuegetFont()
void
Specifies the ID number of the font used to format the text.
StrValuegetFontName()
void
It specified the font name of the font used to format the text.It is using for visio 2013
DoubleValuegetFontScale()
void
Specifies the font width.
BoolValuegetHighlight()
void
It specified highlight.
intgetIX()
void
setIX(intvalue)
The zero-based index of the element within its parent element.
IntValuegetLangID()
void
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.
DoubleValuegetLetterspace()
void
Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments.
StrValuegetLocale()
void
It specified the locale of the text run for spell-checking purposes.
LocalizeFontgetLocalizeFont()
void
Specifies whether the shape text should be localized (translated into another language).
BoolValuegetOverline()
void
Specifies whether the text has a line above it.
StrValuegetPerpendicular()
void
It specified whether a text field appears perpendicular to the other text in a text block.
PosgetPos()
void
setPos(Pos value)
Specifies the position of the shape's text relative to the baseline.
BoolValuegetRTLText()
void
Determines if the text direction of the current character run is left to right or right to left.
DoubleValuegetSize()
void
Specifies the size of the text in the shape's text block.
BoolValuegetStrikethru()
void
Specifies whether the text is formatted as strikethrough.
StylegetStyle()
void
setStyle(Style value)
Specifies the character formatting applied to a range of text in the shape's text block.
BoolValuegetUseVertical()
void
Determines whether the character run is vertical or horizontal.
 
Method Summary
java.lang.ObjectdeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • Char

        public Char()
        Constructor.
    • Property Getters/Setters Detail

      • getIX/setIX

        public int getIX() / public void setIX(int value)
        
        The zero-based index of the element within its parent element.
      • getDel/setDel

        public int getDel() / public void setDel(int 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

        public IntValue getFont() / public void setFont(IntValue value)
        
        Specifies the ID number of the font used to format the text.
      • getFontName/setFontName

        public StrValue getFontName() / public void setFontName(StrValue value)
        
        It specified the font name of the font used to format the text.It is using for visio 2013
      • getColor/setColor

        public ColorValue getColor() / public void setColor(ColorValue value)
        
        When contained in a Char element, the Color element.
      • getStyle/setStyle

        public Style getStyle() / public void setStyle(Style value)
        
        Specifies the character formatting applied to a range of text in the shape's text block.
      • getCase/setCase

        public Case getCase() / public void setCase(Case value)
        
        Determines the case of a shape's text.
      • getPos/setPos

        public Pos getPos() / public void setPos(Pos value)
        
        Specifies the position of the shape's text relative to the baseline.
      • getFontScale/setFontScale

        public DoubleValue getFontScale() / public void setFontScale(DoubleValue value)
        
        Specifies the font width.
      • getLocale/setLocale

        public StrValue getLocale() / public void setLocale(StrValue value)
        
        It specified the locale of the text run for spell-checking purposes.
      • getSize/setSize

        public DoubleValue getSize() / public void setSize(DoubleValue value)
        
        Specifies the size of the text in the shape's text block.
      • getDblUnderline/setDblUnderline

        public BoolValue getDblUnderline() / public void setDblUnderline(BoolValue value)
        
        Specifies whether the range of text has a double underline below it.
      • getOverline/setOverline

        public BoolValue getOverline() / public void setOverline(BoolValue value)
        
        Specifies whether the text has a line above it.
      • getHighlight/setHighlight

        public BoolValue getHighlight() / public void setHighlight(BoolValue value)
        
        It specified highlight.
      • getPerpendicular/setPerpendicular

        public StrValue getPerpendicular() / public void setPerpendicular(StrValue value)
        
        It specified whether a text field appears perpendicular to the other text in a text block.
      • getStrikethru/setStrikethru

        public BoolValue getStrikethru() / public void setStrikethru(BoolValue value)
        
        Specifies whether the text is formatted as strikethrough.
      • getDoubleStrikethrough/setDoubleStrikethrough

        public BoolValue getDoubleStrikethrough() / public void setDoubleStrikethrough(BoolValue value)
        
        Determines whether text is formatted as double strikethrough.
      • getRTLText/setRTLText

        public BoolValue getRTLText() / public void setRTLText(BoolValue value)
        
        Determines if the text direction of the current character run is left to right or right to left.
      • getUseVertical/setUseVertical

        public BoolValue getUseVertical() / public void setUseVertical(BoolValue value)
        
        Determines whether the character run is vertical or horizontal.
      • getLetterspace/setLetterspace

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

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

        public IntValue getAsianFont() / public void setAsianFont(IntValue value)
        
        Specifies the ID number of the font used to format text containing Asian characters.
      • getAsianFontName/setAsianFontName

        public StrValue getAsianFontName() / public void setAsianFontName(StrValue value)
        
        It specified the asian font name of the font used to format the text.It is using for visio 2013
      • getLocalizeFont/setLocalizeFont

        public LocalizeFont getLocalizeFont() / public void setLocalizeFont(LocalizeFont value)
        
        Specifies whether the shape text should be localized (translated into another language).
      • getComplexScriptSize/setComplexScriptSize

        public DoubleValue getComplexScriptSize() / public void setComplexScriptSize(DoubleValue 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

        public IntValue getComplexScriptFont() / public void setComplexScriptFont(IntValue 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

        public StrValue getComplexScriptFontName() / public void setComplexScriptFontName(StrValue value)
        
        It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013
      • getLangID/setLangID

        public IntValue getLangID() / public void setLangID(IntValue 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

        public java.lang.Object deepClone()
                        throws java.lang.Exception
        Creates deep copy of this instance.
        Returns: