Hi Benito,
On 22 October 2012 14:14, Santiago, Benito <[email protected]> wrote:
> Is there a way to set a cell/column to a percentage size? Or better yet,
> tell a cell/column to resize based on the text inside it?****
>
> ** **
>
> Right now I have noticed that the cell/columns widths are equally
> distributed. ****
>
> ** **
>
> I am new to iText, so please forgive me if this is a noob question.
>
What you are looking for is this method:
<
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfPTable.html#setWidths%28float[]%29>
HTH,
alexis
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php