Wesley Baker wrote: > Greetings all - > > I am using the showText() method of PdfStamper.getOverContent to write > to an existing PDF. I'm having trouble getting the method to > recognize a newline, though.
showText() isn't supposed to recognize a newline. Nor is showTextAligned(). > Any help is much appreciated. Either you handle newlines yourself on the lowest PDF level, by splitting your Strings. Or you let iText handle it, but then you should use high level objects such as Chunk (and use ColumnText to put the text at an absolute position). -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
