nitin jain wrote: > Hi, > > I am facing a problem adding text to an existing an Acrobat 9 PDF file.
The fact that it is an Acrobat 9 file is completely irrelevant. > The text is added but is not visible. Here is the code snippet. The document 1799.pdf contains an image that is NOT TRANSPARENT. > PdfContentByte pdfPageContents = pdfStamper.GetUnderContent(1); You are adding new content that is added UNDER the opaque image. The new content is there, but it is COVERED by the image. Replace getUnderContent(1); with getOverContent(1); and the new content will be visible. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ 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
