You have to measure the width of all the right column text and set the
columns width accordingly. There's no automatic way.

Best Regards,
Paulo Soares

----- Original Message ----- 
From: "CRANFORD, CHRIS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004 13:54
Subject: [iText-questions] PdfPTable/PdfPCell


> How can I force a two column PdfPTable to be maximum size in the left
column
> and only permit the right column to grow to whatever the maximum length of
> the included text is?  I basically want it to look like the following:
>
>   +---------+---------+
>   |         | NIS-0034|
>   |    Ref#:|  3994994|
>   +---------+---------+
>
> I want to be able to do this without having to specify an absolute width
but
> rather percentage if possible.  Any ideas?
>
> _______________________________________________________
> Chris Cranford
> Programmer/Developer
> SETECH Inc. & Companies
> 6302 Fairview Rd, Suite 201
> Charlotte, NC  28210
> Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042
> Email: [EMAIL PROTECTED]
>
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to