Hello,
I tried the following and it works well.
I have very slightly modified your code to add a Shading object to the tableCellProperties (tcp)
Hope it helps.
Valery.
var tr = new TableRow();
var tc1 = new TableCell();
tc1.Append(new Paragraph(new Run(new Text("S Name"))));
var tcp = new TableCellProperties(new TableCellWidth()
{
Type = TableWidthUnitValues.Dxa,
Width = "2000",
});
var shading = new Shading()
{
Color = "auto",
Fill = "ABCDEF",
Val = ShadingPatternValues.Clear
};
tcp.Append(shading);
tc1.Append(tcp);
tr.Append(tc1);
table.Append(tr);