
## LegendEntry class

Represents a legend entry in a chart legend.

## Methods

| Name | Description |
| --- | --- |
| [getAutoScaleFont()](#getautoscalefont) | True if the text in the object changes font size when the object size changes. The default value is True. |
| [getBackground()](#getbackground) | Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.NOTE: This |
| [getBackgroundMode()](#getbackgroundmode) | Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant. |
| [getFont()](#getfont) | Gets a Font object of the specified ChartFrame object. |
| [getTextFont()](#gettextfont) | Gets a Font object of the specified LegendEntry object. NOTE: This member is now obsolete. Instead, please use LegendEnt |
| [isDeleted()](#isdeleted) | Gets and sets whether the legend entry is deleted. |
| [isTextNoFill()](#istextnofill) | Gets or sets no fill of the text. |
| [setAutoScaleFont()](#setautoscalefont) | True if the text in the object changes font size when the object size changes. The default value is True. |
| [setBackground()](#setbackground) | Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.NOTE: This |
| [setBackgroundMode()](#setbackgroundmode) | Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant. |
| [setDeleted()](#setdeleted) | Gets and sets whether the legend entry is deleted. |
| [setTextNoFill()](#settextnofill) | Gets or sets no fill of the text. |

### getAutoScaleFont() {#getautoscalefont}

True if the text in the object changes font size when the object size changes. The default value is True.

### getBackground() {#getbackground}

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() {#getbackgroundmode}

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.

### getFont() {#getfont}

Gets a Font object of the specified ChartFrame object.

### getTextFont() {#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.

### isDeleted() {#isdeleted}

Gets and sets whether the legend entry is deleted.

### isTextNoFill() {#istextnofill}

Gets or sets no fill of the text.

### setAutoScaleFont() {#setautoscalefont}

True if the text in the object changes font size when the object size changes. The default value is True.

### setBackground() {#setbackground}

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.

### setBackgroundMode() {#setbackgroundmode}

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.

### setDeleted() {#setdeleted}

Gets and sets whether the legend entry is deleted.

### setTextNoFill() {#settextnofill}

Gets or sets no fill of the text.
