## ChartFrame::GetBackground method


Gets and sets the display mode of the background. This property is only valid in Excel 2003 or earlier versions.


>Deprecated
>
>Use ChartFrame.Area.FillFormat.FillType property instead. 
```cpp
BackgroundMode Aspose::Cells::Charts::ChartFrame::GetBackground()
```

## Remarks


NOTE: This member is now obsolete. Instead, please use ChartFrame.Area.FillFormat.FillType property. For example, If you need to set the BackgroundMode to Opaque, you can use the following code: Area.FillFormat.FillType = FillType.Solid; Area.FillFormat.SolidFill.Color = [Color.Red](../../../aspose.cells/color/red/); This property will be removed 12 months later since JANUARY 2012. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Enum [BackgroundMode](../../backgroundmode/)
* Class [ChartFrame](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
