how to visible Cell Border for only right and bottom in Itext Pdf cell

Rashmi
Rashmi
1214 Points
21 Posts

I am trying following code to set border of a cell right and bottom:

cell.Border = Rectangle.RIGHT_BORDER;
cell.Border = Rectangle.BOTTOM_BORDER;

But unable to get the right result. It shows only bottom border.

Thanks.

 

Views: 10418
Total Answered: 1
Total Marked As Answer: 0
Posted On: 04-Jan-2017 04:42

Share:   fb twitter linkedin
Answers
Smith
Smith
2914 Points
78 Posts
         

Use in iTextSharp following code:

cell.Border = Rectangle.RIGHT_BORDER | Rectangle.BOTTOM_BORDER;

It will show both right and bottom borders

Posted On: 04-Jan-2017 04:46
 Log In to Chat