Arathi Girimallappa wrote: > As I told you yesterday, I could get the image on the existing pdf file > from XMl using itext. But, the image is not set as background and the > content of the pdf where the image lies is not visible like earlier.
> Can anyone pls help me set the image as background so that the pdf file > works like before. This question has already been answered. Use getDirectContentUnder() instead of getDirectContent(). The latter will add the watermark on top of the existing content; the former will add it under the existing content! -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
