Hi All,
I am trying to clone multiple table rows from a table in a pptx file using C#. I’m using the code as described below:
// Access the slide
ISlide sld = presentation.Slides[0];
// Initialize table
ITable table = (ITable)sld.Shapes.FirstOrDefault(s => s is ITable);
table.Rows.AddClone(table.Rows[2], false);
table.Rows.AddClone(table.Rows[3], false);
// Write the PPTX to Disk
presentation.Save(dataDir + "UpdateTable_out" + string.Format("{0:yyyyMMddhhmmss}", DateTime.Now) + ".pptx", SaveFormat.Pptx);
The output ppt contains the added cloned row at the bottom of the table but the border of the second row doesn’t get render correctly. It remains visible across the length of first cell only. Check the issue as illustrated in image below.
HalfBorder_Issue.png (8.8 KB)
Kindly let me know how to resolve this issue.
Thanks,
Jitu