java.lang.Object
com.aspose.diagram.Char
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 |
IntValue | getAsianFont() | |
void | setAsianFont(IntValue) | |
|
Specifies the ID number of the font used to format text containing Asian characters.
|
StrValue | getAsianFontName() | |
void | setAsianFontName(StrValue) | |
|
It specified the asian font name of the font used to format the text.It is using for visio 2013
|
Case | getCase() | |
void | setCase(Case) | |
|
Determines the case of a shape's text.
|
ColorValue | getColor() | |
void | setColor(ColorValue) | |
|
When contained in a Char element, the Color element.
|
DoubleValue | getColorTrans() | |
void | setColorTrans(DoubleValue) | |
|
Determines the degree of transparency for a layer or shape's text color, from 0 (completely opaque) to 1 (completely transparent).
|
IntValue | getComplexScriptFont() | |
void | setComplexScriptFont(IntValue) | |
|
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.
|
StrValue | getComplexScriptFontName() | |
void | setComplexScriptFontName(StrValue) | |
|
It specified the ComplexScript font name of the font used to format the text.It is using for visio 2013
|
DoubleValue | getComplexScriptSize() | |
void | setComplexScriptSize(DoubleValue) | |
|
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.
|
BoolValue | getDblUnderline() | |
void | setDblUnderline(BoolValue) | |
|
Specifies whether the range of text has a double underline below it.
|
int | getDel() | |
void | setDel(int) | |
|
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. |
BoolValue | getDoubleStrikethrough() | |
void | setDoubleStrikethrough(BoolValue) | |
|
Determines whether text is formatted as double strikethrough.
|
IntValue | getFont() | |
void | setFont(IntValue) | |
|
Specifies the ID number of the font used to format the text.
|
StrValue | getFontName() | |
void | setFontName(StrValue) | |
|
It specified the font name of the font used to format the text.It is using for visio 2013
|
DoubleValue | getFontScale() | |
void | setFontScale(DoubleValue) | |
|
Specifies the font width.
|
BoolValue | getHighlight() | |
void | setHighlight(BoolValue) | |
|
It specified highlight.
|
boolean | isBold() | |
|
Indicating whether the font is bold.
|
boolean | isDoubleStrikethrough() | |
|
Indicating whether the font is doubleStrikethrough.
|
boolean | isDoubleUnderline() | |
|
Indicating whether the font is double underline.
|
boolean | isItalic() | |
|
Indicating whether the font is italic.
|
boolean | isStrikethrough() | |
|
Indicating whether the font is strikethrough.
|
boolean | isSubscript() | |
|
Indicating whether the font is subscript.
|
boolean | isSuperscript() | |
|
Indicating whether the font is superscript.
|
boolean | isUnderline() | |
|
Indicating whether the font is underline.
|
int | getIX() | |
void | setIX(int) | |
|
The zero-based index of the element within its parent element.
|
IntValue | getLangID() | |
void | setLangID(IntValue) | |
|
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.
|
DoubleValue | getLetterspace() | |
void | setLetterspace(DoubleValue) | |
|
Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments.
|
StrValue | getLocale() | |
void | setLocale(StrValue) | |
|
It specified the locale of the text run for spell-checking purposes.
|
LocalizeFont | getLocalizeFont() | |
void | setLocalizeFont(LocalizeFont) | |
|
Specifies whether the shape text should be localized (translated into another language).
|
BoolValue | getOverline() | |
void | setOverline(BoolValue) | |
|
Specifies whether the text has a line above it.
|
StrValue | getPerpendicular() | |
void | setPerpendicular(StrValue) | |
|
It specified whether a text field appears perpendicular to the other text in a text block.
|
Pos | getPos() | |
void | setPos(Pos) | |
|
Specifies the position of the shape's text relative to the baseline.
|
BoolValue | getRTLText() | |
void | setRTLText(BoolValue) | |
|
Determines if the text direction of the current character run is left to right or right to left.
|
DoubleValue | getSize() | |
void | setSize(DoubleValue) | |
|
Specifies the size of the text in the shape's text block.
|
BoolValue | getStrikethru() | |
void | setStrikethru(BoolValue) | |
|
Specifies whether the text is formatted as strikethrough.
|
Style | getStyle() | |
void | setStyle(Style) | |
|
Specifies the character formatting applied to a range of text in the shape's text block.
|
BoolValue | getUseVertical() | |
void | setUseVertical(BoolValue) | |
|
Determines whether the character run is vertical or horizontal.
|
|
Method Summary |
java.lang.Object | deepClone() | |
|
Creates deep copy of this instance.
|
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.
-
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
-
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.
-
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.
-
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.
-
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
-
Specifies whether the shape text should be localized (translated into another language).
isDoubleUnderline | |
public boolean isDoubleUnderline()
|
-
Indicating whether the font is double underline.
isSubscript | |
public boolean isSubscript()
|
-
Indicating whether the font is subscript.
isSuperscript | |
public boolean isSuperscript()
|
-
Indicating whether the font is superscript.
isStrikethrough | |
public boolean isStrikethrough()
|
-
Indicating whether the font is strikethrough.
isDoubleStrikethrough | |
public boolean isDoubleStrikethrough()
|
-
Indicating whether the font is doubleStrikethrough.
isUnderline | |
public boolean isUnderline()
|
-
Indicating whether the font is underline.
isItalic | |
public boolean isItalic()
|
-
Indicating whether the font is italic.
isBold | |
public boolean isBold()
|
-
Indicating whether the font is bold.
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.
deepClone | |
public java.lang.Object deepClone()
throws java.lang.Exception |
-
Creates deep copy of this instance.
- Returns:
See Also:
Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
Aspose.Diagram Support Forum - our preferred method of support.