In the newest version of Aspose.word
the code below throws the error below.
//Create a new table
Table table = new Table(doc);
doc.LastSection.Body.AppendChild(table);
//Create a table row
Row row = new Row(doc);
row.RowFormat.AllowBreakAcrossPages = true;
//Add row to table
table.AppendChild(row);
table.AutoFit(AutoFitBehavior.AutoFitToWindow);