Hi All,
I have just started using migradoc recently and I am currently stack with trying to colour a single cell within a table.
The problem I am finding is that the table cell does not get fill with the colour, but simply a strip of that colours is seen on the cell.
I believed this is because it is "setting the shading of the text in the cells - therefore the gap" as Thomas points in this
http://forum.pdfsharp.net/viewtopic.php?f=2&t=480. However I still do not know how to fill the entire cell. My rows already have different colours to make reading easier, but i need to be able to set a particular cell with a different colour
Code:
cell = row.Cells[1];
cell.Borders.ClearAll(); //try playing with borders setting to not avail
cell.Borders.Visible = false; //try playing with borders setting to not avail
row.Cells[1].Format.Shading.Color = Styles.GetCellColour(can.CarColour);
Any help will be greatly appreciated.
Thanks