Re: [iText-questions] How to set border around PdfPTable?

2014-03-26 Thread jomgrg
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;

Re: [iText-questions] How to set border around PdfPTable?

2011-05-25 Thread 1T3XT BVBA
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