I created a word document that contains a table using C #. Now I want to fill in one of the cells in this table with red color. While searching the net, I discovered that you can use a shader object for this. But I do not know how I can use it.
I tried using something like:
doc.Tables[whichTable].Cell(1,4).Range.Shading.BackgroundPatternColor
But how can I set the color using this?
source share