asposecells.api

Class TextOptions

Represents the text options.

Property Getters/Setters Summary
methodgetArgbColor()
method
           Gets and sets the color with a 32-bit ARGB value.
methodgetCapsType()
method
           Gets and sets the text caps type. The value of the property is TextCapsType integer constant.
methodgetCharset()
method
setCharset(value)
           Represent the character set.
methodgetColor()
method
setColor(value)
           Gets or sets the com.aspose.cells.Color of the font.
methodgetDoubleSize()
method
           Gets and sets the double size of the font.
methodgetFarEastName()
method
           Gets and sets the FarEast name.
methodgetFill()
Represents the fill format of the text.
methodisBold()
method
setBold(value)
           Gets or sets a value indicating whether the font is bold.
methodisItalic()
method
setItalic(value)
           Gets or sets a value indicating whether the font is italic.
methodisNormalizeHeights()
method
           Indicates whether the normalization of height that is to be applied to the text run.
methodisStrikeout()
method
           Gets or sets a value indicating whether the font is single strikeout.
methodisSubscript()
method
           Gets or sets a value indicating whether the font is subscript.
methodisSuperscript()
method
           Gets or sets a value indicating whether the font is super script.
methodgetKerning()
method
setKerning(value)
           Specifies the minimum font size at which character kerning will occur for this text run.
methodgetLanguageCode()
method
           Gets and sets the user interface language. The value of the property is CountryCode integer constant.
methodgetLatinName()
method
           Gets and sets the latin name.
methodgetName()
method
setName(value)
           Gets and sets the name of the shape.
methodgetOutline()
Represents the outline format of the text.
methodgetSchemeType()
method
           Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.
methodgetScriptOffset()
method
           Gets and sets the script offset,in unit of percentage
methodgetShadow()
Represents a ShadowEffect object that specifies shadow effect for the chart element or shape.
methodgetSize()
method
setSize(value)
           Gets or sets the size of the font.
methodgetSpacing()
method
setSpacing(value)
           Specifies the spacing between characters within a text run.
methodgetStrikeType()
method
           Gets the strike type of the text. The value of the property is TextStrikeType integer constant.
methodgetThemeColor()
method
           Gets and sets the theme color.
methodgetUnderline()
method
           Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.
methodgetUnderlineColor()
method
           Gets or sets the color of underline.
 
Method Summary
methodequals(font)
Checks if two fonts are equals.
methodtoString()
Returns a string represents the current Cell object.
 

    • Property Getters/Setters Detail

      • getName/setName : String 

        String getName() / setName(value)
        
        Gets and sets the name of the shape.
      • getLanguageCode/setLanguageCode : int 

        int getLanguageCode() / setLanguageCode(value)
        
        Gets and sets the user interface language. The value of the property is CountryCode integer constant.
      • getLatinName/setLatinName : String 

        String getLatinName() / setLatinName(value)
        
        Gets and sets the latin name.
      • getFarEastName/setFarEastName : String 

        String getFarEastName() / setFarEastName(value)
        
        Gets and sets the FarEast name.
      • getUnderlineColor/setUnderlineColor : CellsColor 

        CellsColor getUnderlineColor() / setUnderlineColor(value)
        
        Gets or sets the color of underline.
      • getKerning/setKerning : float 

        float getKerning() / setKerning(value)
        
        Specifies the minimum font size at which character kerning will occur for this text run.
      • getSpacing/setSpacing : float 

        float getSpacing() / setSpacing(value)
        
        Specifies the spacing between characters within a text run.
      • getCharset/setCharset : int 

        int getCharset() / setCharset(value)
        
        Represent the character set.
      • isItalic/setItalic : boolean 

        boolean isItalic() / setItalic(value)
        
        Gets or sets a value indicating whether the font is italic.
      • isBold/setBold : boolean 

        boolean isBold() / setBold(value)
        
        Gets or sets a value indicating whether the font is bold.
      • getCapsType/setCapsType : int 

        int getCapsType() / setCapsType(value)
        
        Gets and sets the text caps type. The value of the property is TextCapsType integer constant.
      • getStrikeType/setStrikeType : int 

        int getStrikeType() / setStrikeType(value)
        
        Gets the strike type of the text. The value of the property is TextStrikeType integer constant.
      • isStrikeout/setStrikeout : boolean 

        boolean isStrikeout() / setStrikeout(value)
        
        Gets or sets a value indicating whether the font is single strikeout.
      • getScriptOffset/setScriptOffset : float 

        float getScriptOffset() / setScriptOffset(value)
        
        Gets and sets the script offset,in unit of percentage
      • isSuperscript/setSuperscript : boolean 

        boolean isSuperscript() / setSuperscript(value)
        
        Gets or sets a value indicating whether the font is super script.
      • isSubscript/setSubscript : boolean 

        boolean isSubscript() / setSubscript(value)
        
        Gets or sets a value indicating whether the font is subscript.
      • getUnderline/setUnderline : int 

        int getUnderline() / setUnderline(value)
        
        Gets or sets the font underline type. The value of the property is FontUnderlineType integer constant.
      • getDoubleSize/setDoubleSize : float 

        float getDoubleSize() / setDoubleSize(value)
        
        Gets and sets the double size of the font.
      • getSize/setSize : int 

        int getSize() / setSize(value)
        
        Gets or sets the size of the font.
      • getThemeColor/setThemeColor : ThemeColor 

        ThemeColor getThemeColor() / setThemeColor(value)
        
        Gets and sets the theme color. If the font color is not a theme color, NULL will be returned.
      • getColor/setColor : Color 

        Color getColor() / setColor(value)
        
        Gets or sets the com.aspose.cells.Color of the font.
      • getArgbColor/setArgbColor : int 

        int getArgbColor() / setArgbColor(value)
        
        Gets and sets the color with a 32-bit ARGB value.
      • isNormalizeHeights/setNormalizeHeights : boolean 

        boolean isNormalizeHeights() / setNormalizeHeights(value)
        
        Indicates whether the normalization of height that is to be applied to the text run.
      • getSchemeType/setSchemeType : int 

        int getSchemeType() / setSchemeType(value)
        
        Gets and sets the scheme type of the font. The value of the property is FontSchemeType integer constant.
    • Method Detail

      • equals

        boolean equals(font)
        Checks if two fonts are equals.
        Parameters:
        font: Font - Compared font object.
        Returns:
        True if equal to the compared font object.
      • toString

        String toString()
        Returns a string represents the current Cell object.
        Returns: