I am using iText java for generation pdf documents
1. How can I set a Paragraph to be bold?
The following code does'nt work
p = *new* Paragraph("this is my text");
p.setFont(*new* Font(Font./HELVETICA/,24, Font./BOLD/));
PDFDocument.add (p);
2. How can I format the text " myname myInformation" so that the first word ist
left adjusted and the second (variable length) rigth adjusted without having to
add spaces between them.
Bis 50 MB Dateianhänge? Kein Problem!
*http://www.digitaledienste.web.de/freemail/club/lp/?lp=7*
[http://www.digitaledienste.web.de/freemail/club/lp/?lp=7]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/