开发者

border of PdfPTable - iText, java

开发者 https://www.devze.com 2023-02-18 11:00 出处:网络
I need to have a border line 开发者_如何学Gofor the PdfPTable but not for the cells inside. Can anyone tell me how to do it?

I need to have a border line 开发者_如何学Gofor the PdfPTable but not for the cells inside. Can anyone tell me how to do it?

I have done this by putting this table inside a new cell. Now my question is how to add a line to split the rows?


In iText each PdfPCell has its own borders.

You can set the borders needed on the cell, and in case of a nested table do the same for that tables cells.

In your case you probably want to set the bottom border on the entire row that is to be separated.

0

精彩评论

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