Aspose::Cells::Charts::ChartFrame::SetBackgroundMode method

ChartFrame::SetBackgroundMode 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.

void Aspose::Cells::Charts::ChartFrame::SetBackgroundMode(BackgroundMode value)

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; This property will be removed 12 months later since February 2026. Aspose apologizes for any inconvenience you may have experienced.

See Also