We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table with more than 29 rows

Hello,

I am trying to read in a table with more than 29 rows and each of these rows have 6 columns. Once I get to the 29th row it looks like the table stops being aware of any rows afterwards. Is this a limitation of aspose.words? Here is my code:

        Table table = (Table)document.GetChild(NodeType.Table, 0, true);
        var cells = table.Rows[30].Cells;

However this returns a null reference exception because Rows[30] is null, as the Table stops right at 29 rows. Any help is appreciated. Thank you.

@craigmw

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.