On 28/05/2012 17:50, Susheela Sundar wrote: > I am trying to watermak a document with multiple lines.
Hi Susheela, I hope the previous answer from 1T3XT helped you solve the problem. We get similar questions on a regular basis, and in most of the cases the problem is caused by not taking into account the offset (the initial position of the X and the Y). You can get this position by examining the MediaBox of the page. I also think there's a better way to add multiple lines. Instead of using a sequence showTextAligned() methods, you could create high-level objects, add them to a ColumnText instance, and then invoke the go() method, but that's a matter of taste. Maybe you find your way easier, in which case you don't need to change much. However, I'm also sending you this mail because I just checked and found out that Pendesa is a paying customer. As such, Pendesa is entitled to priority support. To get this support, you need your boss to register (up to 3) e-mail addresses of Pendesa developers. He'll then get a special e-mail address that is different from the free mailing list address. For instance: if you have a faulty PDF that contains sensitive information, you typically don't want to share such a file on a public mailing list, but it's perfectly safe to use the priority support address. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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