On 23/10/2012 16:22, Santiago, Benito wrote:
So this method will set columns to specified size, but there is no
"resize based on text" option right...?
No, there is code in XML Worker that resizes columns based on text, but
that's because people use XML Worker to convert HTML to PDF. People who
October 22, 2012 3:41 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Table Column Size
What you are looking for is this method:
<
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfPTable.html#setWidths%28float[]%29
>
HTH,
alexis
Important: This e
Hi Benito,
On 22 October 2012 14:14, Santiago, Benito 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.
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.
_