Query about merge cell

Hi, https://docs.aspose.com/words/net/working-with-columns-and-rows/ the merge function in this… can u tell me about this line Table parentTable = startCell.ParentRow.ParentTable; what is the Table here? which class it belongs to? also in the same line… i am getting another issue with ParentRow … saying “Aspose cell does not contain a definition for parent row”

Hi,
Thanks for your posting and using Aspose APIs.
Actually, the startCell reference belongs to Aspose.Words and not Aspose.Cells. So, we are moving your thread to Aspose.Words forum, Aspose.Words team will look into your issue and answer you asap.

Hi there,
Thanks for your inquiry. Please note that Aspose.Words is quite
different from the Microsoft Word’s Object Model in that it represents
the document as a tree of objects more like an XML DOM tree. If
you worked with any XML DOM library you will find it is easy to
understand and work with Aspose.Words. When you load a Word document
into Aspose.Words, it builds its DOM and all document elements and
formatting are simply loaded into memory. Please read the following
articles for more information on DOM:
https://docs.aspose.com/words/net/aspose-words-document-object-model/
https://docs.aspose.com/words/net/logical-levels-of-nodes-in-a-document/

sugsan:
Hi, https://docs.aspose.com/words/net/working-with-columns-and-rows/ the merge function in this… can u tell me about this line Table parentTable = startCell.ParentRow.ParentTable; what is the Table here? which class it belongs to?

The Table belongs to Aspose.Words.Tables.Table class. Please read about Aspose.Words.Tables namespace from here:
https://reference.aspose.com/words/net/aspose.words.tables/

sugsan:
also in the same line… i am getting another issue with ParentRow … saying “Aspose cell does not contain a definition for parent row”

The Cell.ParentRow property returns the parent row of the cell. Please read about members of Cell class from here:
https://reference.aspose.com/words/net/aspose.words.tables/cell/
Could you please share your input document here for testing? I will instigate the issue and provide you more information.