when I am trying
cell.setBorder(Rectangle.BOTTOM);
cell.setBorder(Rectangle.RIGHT);
It is overlapping bottom border and setting only right border of selected cell
same thing happened in reverse manner with
cell.setBorder(Rectangle.BOTTOM);
cell.setBorder(Rectangle.RIGHT);
Does it possible to set bottom and right border of cell together for selected cell ?
In iTextSharp I have used:
cell.Border = Rectangle.BOTTOM_BORDER | Rectangle.RIGHT_BORDER;
You could try:
cell.setBorder(Rectangle.BOTTOM | Rectangle.RIGHT);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With