Use a non breaking space \u00a0.

Paulo

----- Original Message ----- From: "luo sebastian" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, July 29, 2007 1:18 AM
Subject: [iText-questions] How to keep the blank row in table?


Hello *,

When I use the folling code:

       tb = New Table(1)
       'add the first row
       ce = New Cell("1-------")
       tb.AddCell(ce)

       'add the 2nd row
       ce = New Cell("")
       tb.AddCell(ce)

       'add the last row
       ce = New Cell("3--------")
       tb.AddCell(ce)
       doc.Add(tb)


the table generated in the document will automatically ignore the second
cell and only return the first and the last cell in the table. But I really
need to keep the second cell, even if it is has nothing in it?

Can anybody tell me how to do it.

Thank you very much

Sebastian


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to