Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] How to keep the blank row in table?

luo sebastian

2007-07-28

Replies:

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

_________________________________________________________________
?????????????????????????????????? Live Messenger;
http://get.live.com/messenger/overview


-------------------------------------------------------------------------
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.