I've got the following problem:
I've got a Chunk object with a background and if I add this chunk into a
PdfPCell, the background of the Chunk covered the border of the cell. I used
the method "setUseBorderPadding(true)" but no reaction. Any ideas welcome!
Code:
Chunk chunk2 = new Chunk("Test2");
chunk2.setBackground(Color.RED);
PdfPTable table = new PdfPTable(1);
PdfPCell cell = new PdfPCell();
cell.setUseBorderPadding(true);
cell.addElement(chunk2);
table.addCell(cell);
document.add(table);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/