1

How to add Dashed-line Border to PdfPcell in PdfPTable using iText in android?

4

1 回答 1

2

将单元格的边框设置为NO_BORDER并定义 a PdfPCellEvent。使用划线图案在事件中绘制边框。

对于单元格事件,请参阅http://itextpdf.com/themes/keyword.php?id=201

有关虚线和绘制矩形,请参阅PathConstructionAndPaintingGraphicsStateOperators

于 2013-08-11T06:55:20.490 回答