com.aspose.cells
Class TextOptions

java.lang.Object
  extended by Font
      extended by com.aspose.cells.TextOptions

public class TextOptions 
extends Font

Represents the text options.


Property Getters/Setters Summary
intgetArgbColor()→ inherited from Font
voidsetArgbColor(int value)
           Gets and sets the color with a 32-bit ARGB value.
intgetCapsType()→ inherited from Font
voidsetCapsType(int value)
           Gets and sets the text caps type. The value of the property is TextCapsType integer constant.
intgetCharset()→ inherited from Font
voidsetCharset(int value)
           Represent the character set.
com.aspose.cells.ColorgetColor()→ inherited from Font
voidsetColor(com.aspose.cells.Color value)
           Gets or sets the com.aspose.cells.Color of the font.
doublegetDoubleSize()→ inherited from Font
voidsetDoubleSize(double value)
           Gets and sets the double size of the font.
java.lang.StringgetFarEastName()
voidsetFarEastName(java.lang.String value)
           Gets and sets the FarEast name.
FillFormatgetFill()
           Represents the fill format of the text.
booleanisBold()→ inherited from Font
voidsetBold(boolean value)
           Gets or sets a value indicating whether the font is bold.
booleanisItalic()→ inherited from Font
voidsetItalic(boolean value)
           Gets or sets a value indicating whether the font is italic.
booleanisNormalizeHeights()→ inherited from Font
voidsetNormalizeHeights(boolean value)
           Indicates whether the normalization of height that is to be applied to the text run.
booleanisStrikeout()→ inherited from Font
voidsetStrikeout(boolean value)
           Gets or sets a value indicating whether the font is single strikeout.
booleanisSubscript()→ inherited from Font
voidsetSubscript(boolean value)
           Gets or sets a value indicating whether the font is subscript.
booleanisSuperscript()→ inherited from Font
voidsetSuperscript(boolean value)
           Gets or sets a value indicating whether the font is super script.
doublegetKerning()
voidsetKerning(double value)
           Specifies the minimum font size at which character kerning will occur for this text run.
java.lang.StringgetLatinName()
voidsetLatinName(java.lang.String value)
           Gets and sets the latin name.
java.lang.StringgetName()
voidsetName(java.lang.String value)
           Gets and sets the name of the shape.
LineFormatgetOutline()
           Represents the outline format of the text.
intgetSchemeType()→ inherited from Font
voidsetSchemeType(int value)
           Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.
doublegetScriptOffset()→ inherited from Font
voidsetScriptOffset(double value)
           Gets and sets the script offset,in unit of percentage
ShadowEffectgetShadow()
           Represents a object that specifies shadow effect for the chart element or shape.
intgetSize()→ inherited from Font
voidsetSize(int value)
           Gets or sets the size of the font.
doublegetSpacing()
voidsetSpacing(double value)
           Specifies the spacing between characters within a text run.
intgetStrikeType()→ inherited from Font
voidsetStrikeType(int value)
           Gets the strike type of the text. The value of the property is TextStrikeType integer constant.
ThemeColorgetThemeColor()→ inherited from Font
voidsetThemeColor(ThemeColor value)
           Gets and sets the theme color.
intgetUnderline()→ inherited from Font
voidsetUnderline(int value)
           Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.
CellsColorgetUnderlineColor()
voidsetUnderlineColor(CellsColor value)
           Gets or sets the color of underline.
 
Method Summary
booleanequals(Font font)→ inherited from Font
           Checks if two fonts are equals.
java.lang.StringtoString()→ inherited from Font
           Returns a string represents the current Cell object.
 

Property Getters/Setters Detail

getName/setName

public java.lang.String getName() / public void setName(java.lang.String value)
Gets and sets the name of the shape.

setName

public void setName(java.lang.String value)
Gets and sets the name of the shape.

getLatinName/setLatinName

public java.lang.String getLatinName() / public void setLatinName(java.lang.String value)
Gets and sets the latin name.

setLatinName

public void setLatinName(java.lang.String value)
Gets and sets the latin name.

getFarEastName/setFarEastName

public java.lang.String getFarEastName() / public void setFarEastName(java.lang.String value)
Gets and sets the FarEast name.

setFarEastName

public void setFarEastName(java.lang.String value)
Gets and sets the FarEast name.

getFill

public FillFormat getFill()
Represents the fill format of the text.

getOutline

public LineFormat getOutline()
Represents the outline format of the text.

getShadow

public ShadowEffect getShadow()
Represents a object that specifies shadow effect for the chart element or shape.
See Also:
ShadowEffect

getUnderlineColor/setUnderlineColor

public CellsColor getUnderlineColor() / public void setUnderlineColor(CellsColor value)
Gets or sets the color of underline.

setUnderlineColor

public void setUnderlineColor(CellsColor value)
Gets or sets the color of underline.

getKerning/setKerning

public double getKerning() / public void setKerning(double value)
Specifies the minimum font size at which character kerning will occur for this text run.

setKerning

public void setKerning(double value)
Specifies the minimum font size at which character kerning will occur for this text run.

getSpacing/setSpacing

public double getSpacing() / public void setSpacing(double value)
Specifies the spacing between characters within a text run.

setSpacing

public void setSpacing(double value)
Specifies the spacing between characters within a text run.

getCharset/setCharset

→ inherited from Font
public int getCharset() / public void setCharset(int value)
Represent the character set.

setCharset

→ inherited from Font
public void setCharset(int value)
Represent the character set.

isItalic/setItalic

→ inherited from Font
public boolean isItalic() / public void setItalic(boolean value)
Gets or sets a value indicating whether the font is italic.

setItalic

→ inherited from Font
public void setItalic(boolean value)
Gets or sets a value indicating whether the font is italic.

isBold/setBold

→ inherited from Font
public boolean isBold() / public void setBold(boolean value)
Gets or sets a value indicating whether the font is bold.

setBold

→ inherited from Font
public void setBold(boolean value)
Gets or sets a value indicating whether the font is bold.

getCapsType/setCapsType

→ inherited from Font
public int getCapsType() / public void setCapsType(int value)
Gets and sets the text caps type. The value of the property is TextCapsType integer constant.

setCapsType

→ inherited from Font
public void setCapsType(int value)
Gets and sets the text caps type. The value of the property is TextCapsType integer constant.

getStrikeType/setStrikeType

→ inherited from Font
public int getStrikeType() / public void setStrikeType(int value)
Gets the strike type of the text. The value of the property is TextStrikeType integer constant.

setStrikeType

→ inherited from Font
public void setStrikeType(int value)
Gets the strike type of the text. The value of the property is TextStrikeType integer constant.

isStrikeout/setStrikeout

→ inherited from Font
public boolean isStrikeout() / public void setStrikeout(boolean value)
Gets or sets a value indicating whether the font is single strikeout.

setStrikeout

→ inherited from Font
public void setStrikeout(boolean value)
Gets or sets a value indicating whether the font is single strikeout.

getScriptOffset/setScriptOffset

→ inherited from Font
public double getScriptOffset() / public void setScriptOffset(double value)
Gets and sets the script offset,in unit of percentage

setScriptOffset

→ inherited from Font
public void setScriptOffset(double value)
Gets and sets the script offset,in unit of percentage

isSuperscript/setSuperscript

→ inherited from Font
public boolean isSuperscript() / public void setSuperscript(boolean value)
Gets or sets a value indicating whether the font is super script.

setSuperscript

→ inherited from Font
public void setSuperscript(boolean value)
Gets or sets a value indicating whether the font is super script.

isSubscript/setSubscript

→ inherited from Font
public boolean isSubscript() / public void setSubscript(boolean value)
Gets or sets a value indicating whether the font is subscript.

setSubscript

→ inherited from Font
public void setSubscript(boolean value)
Gets or sets a value indicating whether the font is subscript.

getUnderline/setUnderline

→ inherited from Font
public int getUnderline() / public void setUnderline(int value)
Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.

setUnderline

→ inherited from Font
public void setUnderline(int value)
Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.

getDoubleSize/setDoubleSize

→ inherited from Font
public double getDoubleSize() / public void setDoubleSize(double value)
Gets and sets the double size of the font.

setDoubleSize

→ inherited from Font
public void setDoubleSize(double value)
Gets and sets the double size of the font.

getSize/setSize

→ inherited from Font
public int getSize() / public void setSize(int value)
Gets or sets the size of the font.

setSize

→ inherited from Font
public void setSize(int value)
Gets or sets the size of the font.

getThemeColor/setThemeColor

→ inherited from Font
public ThemeColor getThemeColor() / public void setThemeColor(ThemeColor value)
Gets and sets the theme color. If the font color is not a theme color, NULL will be returned.

setThemeColor

→ inherited from Font
public void setThemeColor(ThemeColor value)
Gets and sets the theme color. If the font color is not a theme color, NULL will be returned.

getColor/setColor

→ inherited from Font
public com.aspose.cells.Color getColor() / public void setColor(com.aspose.cells.Color value)
Gets or sets the com.aspose.cells.Color of the font.

setColor

→ inherited from Font
public void setColor(com.aspose.cells.Color value)
Gets or sets the com.aspose.cells.Color of the font.

getArgbColor/setArgbColor

→ inherited from Font
public int getArgbColor() / public void setArgbColor(int value)
Gets and sets the color with a 32-bit ARGB value.

setArgbColor

→ inherited from Font
public void setArgbColor(int value)
Gets and sets the color with a 32-bit ARGB value.

isNormalizeHeights/setNormalizeHeights

→ inherited from Font
public boolean isNormalizeHeights() / public void setNormalizeHeights(boolean value)
Indicates whether the normalization of height that is to be applied to the text run.

setNormalizeHeights

→ inherited from Font
public void setNormalizeHeights(boolean value)
Indicates whether the normalization of height that is to be applied to the text run.

getSchemeType/setSchemeType

→ inherited from Font
public int getSchemeType() / public void setSchemeType(int value)
Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.

setSchemeType

→ inherited from Font
public void setSchemeType(int value)
Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.

Method Detail

equals

→ inherited from Font
public boolean equals(Font font)
Checks if two fonts are equals.
Parameters:
font - Compared font object.
Returns:
True if equal to the compared font object.

toString

→ inherited from Font
public java.lang.String toString()
Returns a string represents the current Cell object.
Returns:

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