Op 8/02/2011 9:59, Yuri Sarzi schreef: > Hi Nurettin, really many thanks for your help! I got some troubles > with TeacherUse.PHRASE. What does it is? I'm not able to find > "TeacherUse" in APIs. > And again, what about wrappers? Can you suggest me the class to use? > (CellWrapper or TableWrapper?) Ouch, Nurettin's advice was indeed very good, but in spite of that you didn't understand what he meant.
[1] If you look at the showTextAligned() method, you'll find out that where Nurettin used "TeacherUse.PHRASE" a String is expected: that's the String you want to place at the location defined by the coordinates xPos, yPos. "TeacherUse.PHRASE" is just an example; it isn't part of the API. Isn't that obvious? (Yes, it is obvious.) [2] Why on earth are you referring to CellWrapper and TableWrapper? These classes didn't even exist at the moment Nurettin answered your question! What Nurettin meant is that it's good practice to create a separate class that produces the desired behavior. It "wraps" the needed functionality in one "convenience class." Please learn how to walk before trying to run... ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
