First we can set all cell borders as 0 and After assigning all cell to table
we can use the following code for for only pdfptable outer border.
PdfPCell cell = new PdfPCell();
cell.AddElement(t);
cell.BorderWidthBottom=1f;
cell.BorderWidthLeft=1f;
On 25/05/2011 10:30, Hiren Parghi wrote:
Hi,
Is there any way to set border around the table.
In earlier version of iText, we can get border around table using
following code:
Table table = new Table(3);
table.setBorderWidth(2);
But in PdfPTable there is no such method to set border