I'm trying to create a table that has cells that use both the RowSpan and ColumnsSpan properties. See the following code:
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
Aspose.Pdf.License license = new Aspose.Pdf.License();
Section section = pdf.Sections.Add();
section.Paragraphs.Add(new Text("Table Title"));
Table table = new Table();
table.DefaultCellBorder = new BorderInfo((int)BorderSide.All, 0.1F);
Row row = table.Rows.Add();
Cell cell = row.Cells.Add("Cell A1");
cell.RowSpan = 2;
row = table.Rows.Add();
cell = row.Cells.Add("Cell B2");
cell.ColumnsSpan = 2;
I would expect a table where cell B2 spans B1 and C1 but it does not.
What's wrong with my code?