The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

SrihariCh (1) [Avatar] Offline
#1
Hi all,

I am new to iText. I am using iText-2.1.4.jar & iText-rtf-2.1.4.jar files for working with iText. In my pdf file, I have 2 PdfPTables. I need to add dotted/dashed lines after few cells within the PdfPTable(s).

So, please, can anyone help me regarding this problem. I was struck up here since a day ago. I spent nearly 4 hours of my time, but, no solution was/is found.

I request you all to please spend 2 minutes of your valuable time in filling the gap within my work.

Thanks in advance.
Waiting for your replies...

Srihari.Ch
saItext (4) [Avatar] Offline
#2
Re: How to create a PdfPTable with dotted/dashed line borders?
does this help you?

PdfPCell Cell = new PdfPCell(new Paragraph("---------------------- ",