com.aspose.cells

Class LegendEntry

  • java.lang.Object
    • com.aspose.cells.LegendEntry
public class LegendEntry 
extends java.lang.Object

Represents a legend entry in a chart legend.

Property Getters/Setters Summary
booleangetAutoScaleFont()
void
setAutoScaleFont(booleanvalue)
True if the text in the object changes font size when the object size changes. The default value is True.
intgetBackground()
void
setBackground(intvalue)
Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
intgetBackgroundMode()
void
Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
FontgetFont()
Gets a Font object of the specified ChartFrame object.
booleanisDeleted()
void
setDeleted(booleanvalue)
Gets and sets whether the legend entry is deleted.
booleanisTextNoFill()
void
setTextNoFill(booleanvalue)
Gets or sets no fill of the text.
FontgetTextFont()
Gets a Font object of the specified LegendEntry object.
 

    • Property Getters/Setters Detail

      • isDeleted/setDeleted

        public boolean isDeleted() / public void setDeleted(boolean value)
        
        Gets and sets whether the legend entry is deleted.
      • getFont

        public Font getFont()
        
        Gets a Font object of the specified ChartFrame object.
      • getTextFont

        public Font getTextFont()
        
        Gets a Font object of the specified LegendEntry object. NOTE: This member is now obsolete. Instead, please use LegendEntry.Font property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
      • isTextNoFill/setTextNoFill

        public boolean isTextNoFill() / public void setTextNoFill(boolean value)
        
        Gets or sets no fill of the text.
      • getAutoScaleFont/setAutoScaleFont

        public boolean getAutoScaleFont() / public void setAutoScaleFont(boolean value)
        
        True if the text in the object changes font size when the object size changes. The default value is True.
      • getBackground/setBackground

        public int getBackground() / public void setBackground(int value)
        
        Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.NOTE: This member is now obsolete. Instead, please use LegendEntry.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
      • getBackgroundMode/setBackgroundMode

        public int getBackgroundMode() / public void setBackgroundMode(int value)
        
        Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.