Aspose Slides - Merge cell property of table

What is the limitation to merge cells.

Table.MergeCell merges the adjacent cells, which have either column number or row number is same and the different part differs only by one.

e.g

cell(0,1) can be merged with cell(0,2) //column is same but row differs by 1
or
cell(0,1) can be merged with cell(1,1) //row is same but column differs by 1

Can I merge more than two cells together?

How can I merge 4 cells (adjacent) ?

Cell (0,0)Cell (0,1)
Cell (1,0)Cell (1,1)

?

Hello Dear,

You cannot merge more than two cells at time because the cell indexing gets changed on merging. You need to merge four cells in by merging two cells at a time only. Please follow link 1 and link 2 for more information about cell numbering and merging cells.

Thanks and Regards,