Use zelle.setLeading(0, 1.5f) to start with and then read the javadocs for
the method in ColumnText.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Thomas Kübler [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 22, 2002 15:52
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] leading in pdfpcell
> 
> hallo,
>  
> i have an another question. how do i set the leading of a phrase in 
> a pdfpcell. when i set 
>  
> PdfPCell zelle = new PdfPCell( new Phrase("testlauf"));
> zelle.setLeading(durch,1f);
>  
> where durch = fontsize * 1.5;
>  
> i get not very good results with this parameter, i tried
> zelle.setLeading(durch,0f), this
> works for some text good, but when the fontsize will be bigger, the lines
> will be together.
>  
>  
> thanks thomas.

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to