Hi,
Thank you for considering Aspose.
In my test it works fine. Please find attached resultant Pdf using the following code:
[ Java ]
Pdf pdf = new Pdf();
Section sec1 = pdf.getSections().add();
Table table = new Table(sec1);
table.setColumnWidths("200 200");
Row row1 = new Row(table);
table.getRows().add(row1);
Text someText2 = new Text(sec1,"some text");
Cell cell11 = new Cell(table,"Cell1");
cell11.getParagraphs().add(someText2);
row1.getCells().add(cell11);
Text otherText = new Text(sec1,"some more text");
Cell cell12 = new Cell(table,"Cells2");
cell12.getParagraphs().add(otherText);
row1.getCells().add(cell12);
sec1.getParagraphs().add(table);
pdf.save(new FileOutputStream(new File("D:/AsposeTest/HelloWorldExample.pdf")));
Thanks.
Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html