Hi,
Im trying to do add a new row using TableEx.Rows.AddClone() but its throwing errors. insertClone is working but i cant add rows to the end of collection using that.
here is my code and the powerpoint is attached.
pres = new PresentationEx(@“E:\superscript.pptx”);Edit: i went through the exception trace and it seems you guys call InsertClone() inside the AddClone method. does this means we dont have a solution to add a row to end of collection??
TableEx table = (TableEx)getshape();
RowsEx rows = table.Rows;
var row = rows[8];
table.Rows.AddClone(row, true);
// table.Rows.InsertClone(8,row,true);//This works!! but cannot add to end of collection
StackTrace:
at Aspose.Slides.Pptx.RowsEx.InsertClone(Int32 index, RowEx template, Boolean withAttachedRows)
at Aspose.Slides.Pptx.RowsEx.AddClone(RowEx template, Boolean withAttachedRows)