We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table Cell color

Can you color in individual cells of a table

Yes, you can do it with the following code.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

//Set the background color of the cell to blue

Aspose.Slides.Cell cell = table.GetCell(1, 1);

cell.FillFormat.Type = FillType.Solid;

cell.FillFormat.ForeColor = Color.Blue;