开发者

Formatting of pdfptables using itext in java

I am using itext to generate pdf files using java.I want to add 2 tables but the tables should be added开发者_开发技巧 side by side,that is table 1 should be aligned left and table 2 should aligned right but they should be side by side.Now when i create tables,The 2nd table gets created below the 1st table.How can we set the position of table.


Since a PdfPCell can take another PdfPTable as input, you could create a two column table and add your actual tables in either column.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜