> -----Original Message-----
> From: toto toto [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, November 27, 2003 9:43
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] unit
>
> Hi,
>
> Can you tell me what is the unit for a PdfPTable:
> There is sevral method to set the width of the table :
> - setWidthPercentage
> <file:///F:/testiText/docs/com/lowagie/text/pdf/PdfPTable.html#setWidthPer
> centage(float[], com.lowagie.text.Rectangle)> set the width in percent but
>
The width is in points.
>
> - setWidths
> <file:///F:/testiText/docs/com/lowagie/text/pdf/PdfPTable.html#setWidths(i
> nt[])> set a width in which unit ?? (cm, dpi, pixel ....)
>
These are relative widths. The sum of all correspond to 100% of the
table.
>
> and what i the difference between setWidths
> <file:///F:/testiText/docs/com/lowagie/text/pdf/PdfPTable.html#setWidths(i
> nt[])> and setTotalWidth
> <file:///F:/testiText/docs/com/lowagie/text/pdf/PdfPTable.html#setTotalWid
> th(float[])> ??
>
setTotalWidth(float[]) is only of interest if you are placing the
table at an absolute position. It's a shorthand for setTotalWidth(int) and
setWidths(int[]) combined.
Best Regards,
Paulo Soares
>
> thanks
>
> Lo�c
>
>
>
>
>
> _____
>
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
> Testez le nouveau Yahoo! Mail <http://fr.mail.yahoo.com>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions