I can set the normal excel bgcolor,but it’s hard to set pivot table bgcolor!
Thanks for your posting and using Aspose.Cells for .NET.
You will have to apply Style object to your Pivot Cells. In order to set the background color, you will have to use Style.Pattern and Style.ForegroundColor property.
The following code applies the green fill color to cell C3.
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets;
Cell cell = worksheet.Cells[“C3”];
Style style = cell.GetStyle();
style.Pattern = BackgroundType.Solid;
style.ForegroundColor = Color.Green;