Hello,

I would suggest using Paragraph instead of Phrase. That should solve 
your problem.

[EMAIL PROTECTED] a écrit :
> Hi all!
>
> Maybe my problem is too simple for me, but I do not find any solution for it: 
> neither iText-Documentation nor the tutorials.
>
> I only want to increase the space between 2 lines. How to do it? If I use 
> leading of the Phrase API, there are only appearing the wanted spaces AFTER a 
> CR-character (\n). If a sentence goes over several lines, these lines do not 
> have my wanted space, they have the default space.
>
> What I want to achieve is something like this:
>
> Phrase phrase = new Phrase(30, new Chunk(veryLongTextOverManyLines));
>
> where 30 is the pixel amount of the desired line space.
>
> Who can help?
>
> Thanks a lot,
> -Andre
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to