Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] iText PdfPTable, nested table issue...

sgee@p1-esp.com

2007-08-01

Replies:

Hi,
I'm java developer, and i face some problem about iText.
May i know how to remove the "table" border? 
Below is the source code:

PdfPTable table = new PdfPTable(1);
PdfPCell cell = new PdfPCell();
PdfPTable nestTable = new PdfPTable(1);

nestTable = new PdfPTable(1);
cell = new PdfPCell(new Paragraph("Testing"));
nestTable.addCell(cell);
cell = new PdfPCell(new Paragraph("123"));
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
nestTable.addCell(cell);
table.addCell(nestTable);

Thanks for ur kindness.

Xuanxun
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.