Hi,
If I have a table cell, which has a rowspan longer than the rows underneath, the background color and borders do not span the entire cell. I have recently upgraded from a much older version of Aspose and this use to work.
I understand the workaround is to fix the tables I have, I am working on this.
Table table = new Table(section);
section.Paragraphs.Add(table);
table.DefaultCellBorder = new BorderInfo((int)BorderSide.All, new Color(“black”));
Row row1 = table.Rows.Add();
Cell cellRow1Col1 = row1.Cells.Add();
cellRow1Col1.BackgroundColor = new Color(“lightSteelBlue”);
cellRow1Col1.RowSpan = 2; // toggle this from 2 (correct) to 3 or more (too many)
cellRow1Col1.Paragraphs.Add(new Text(“x”));
Cell cellRow1Col2 = row1.Cells.Add();
cellRow1Col2.BackgroundColor = new Color(“lightSteelBlue”);
cellRow1Col2.Paragraphs.Add(new Text(“x”));
Row row2 = table.Rows.Add();
Cell row2Col2 = row2.Cells.Add();
row2Col2.BackgroundColor = new Color(“lightSteelBlue”);
row2Col2.Paragraphs.Add(new Text(“x”));