com.aspose.cells
Class LegendEntry

java.lang.Object
    extended by com.aspose.cells.LegendEntry

public class LegendEntry 
extends java.lang.Object

Represents a legend entry in a chart legend.

Property Getters/Setters Summary
booleangetAutoScaleFont()
voidsetAutoScaleFont(boolean value)
           True if the text in the object changes font size when the object size changes. The default value is True.
intgetBackground()
voidsetBackground(int value)
           Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
intgetBackgroundMode()
voidsetBackgroundMode(int value)
           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()
voidsetDeleted(boolean value)
           Gets and sets whether the legend entry is deleted.
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.

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.

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