Are you supposed to be able to use addText multiple times before calling go?

sample snippet:
       ct.setSimpleColumn(llx, lly, urx, ury);
       ct.addText(new Phrase("This is a test", font));
       ct.addText(new Phrase("This is another", font));
       ct.go();

This seems to only show the second phrase.  If this is how addText is
supposed to work, then what is the difference between addText and setText?

I have a list of Paragraphs which I would like to add to an irregular
column.  I can't use addElement with an irregular column, but was hoping to
be able to add them using addText(Phrase) (since a Paragraph is derived from
Phrase).  Perhaps I am just out of luck :)




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to