So I have this PDF layout that a cell should have both left and bottom border.
PdfPCell row26cell_4 = new PdfPCell(row26Par_4);
row26cell_4.setBorder(Rectangle.BOTTOM);
row26cell_4.setBorder(Rectangle.RIGHT);
row26cell_4.setBorderWidth(.9f);
Solution:
PdfPCell row26cell_4 = new PdfPCell(row26Par_4);
row26cell_4.setBorder(Rectangle.RIGHT | Rectangle.BOTTOM);

No comments:
Post a Comment