Free Support Forum - aspose.com

How to set backcolor to table cell?

i want to set different back color to each cell in one table ?

which method i have to use ?

one more i want to insert horizontal or vertical line in doc then what i have to do?

Hi,

Basically, you should use Shading object (returned by the DocumentBuilder.CellFormat.Shading property). Please see here for an example:

http://www.aspose.com/forums/ShowPost.aspx?PostID=17729

Regarding your second question, you can use a table cell and make visible one of its borders.