A couple options:

1. Put carriage returns above and below.  If you find the CRs are too large,
try using a smaller font for them.
2. Use cellpadding on the table and/or cell.

Sterling

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Bruno" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 7:37 AM
Subject: [iText-questions] Re: Why is my table so compact?


>
>
>
>
> When I use setLeading(), setVerticalAlignment() is not effective for cell,
> in this case text is always bottom aligned no matter what type of
alignment
> you set.
>
> cell.setLeading(30)     ;
> cell.setVerticalAlignment(Cell.ALIGN_MIDDLE);
>




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to