Swapna wrote: > Hi Friends , > > > I am facing problem with watermark images in pdf. > > My query: > > Suppose my pdf report contains 10 pages ... > i want to display watermark image in five pages and the rest 5 pages > shound not contain that watermark image.... > > is it possible to do that.. if so how can we do that.......
If you are adding the watermark as documented (using page events), it's easy to add a line that checks the page number. For instance: if (writer.getPageNumber() < 6) { // code that adds the watermark } br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/