Hi,
Thankyou for considering Aspose.Pdf
Yes its prety possible to add two table side by side. Infact logically its like adding a table into another table.
To add a nested table, all you need is to add a new table into the paragraphs collection of any desired cell. Simply create a table, than add a row to the table. Create 2 columns and in second column add another table.
//Create a table
Table tab1 = new Table();
//Add the table into the paragraphs collection of section
sec1.Paragraphs.Add(tab1);
//Add a row into the table
Row row1 = tab1.Rows.Add();
//Add 1st cell in the row
row1.Cells.Add("left cell");
//Add 2nd cell in the row
Cell cell2 = row1.Cells.Add();
//Create a table to be nested with the reference of 2nd cell in the row
Table tab2 = new Table(cell2);
//Add the nested table into the paragraphs collection of the 2nd cell
cell2.Paragraphs.Add(tab2);
For more information visit Create Nested Table
Nayyer Shahbaz
Support Developer
Aspose Changsha Team
About Us