Table -cell background unable to set



I am runnign the below code to set the backgroud color (within powerpoint it is clled fill color for a cell)

table.GetCell(1,1).TextFrame.FillFormat.BackColor = Color.Red;

The code compiles and runs fine but I don’t see any color.

Am I doing something wrong ?


Gogem Artug


table.GetCell(1,1).TextFrame.FillFormat.Type = FillType.Solid;
table.GetCell(1,1).TextFrame.FillFormat.ForeColor = Color.Red;

BackColor property is used for patterns and gradients only.
All detailed examples and descriptions you can find in the Programmer’s Guide.