Sankha Subhra Dey wrote: > Thank you. I do have the book, and I did try this, and it didn't work > (the annotation is still visible in AR 8), just like this one didn't > (this was the code I had supplied in my original mail): > > =================================================================== > PdfAnnotation pdfAnnotation = > PdfAnnotation.createText(stamper.getWriter(), new Rectangle(1, 1, 1, > 1), "Comment", pattern, false, null); > > pdfAnnotation.put(PdfName.F, new > PdfNumber(PdfAnnotation.FLAGS_NOVIEW | > PdfAnnotation.FLAGS_INVISIBLE | PdfAnnotation.FLAGS_HIDDEN)); > > stamper.addAnnotation(pdfAnnotation, 1); > =================================================================== > > That was the whole reason why I wrote the mail.
I don't understand. I've tested the example I've sent you in AR 9. It works. I don't have AR 8 anymore, so I can't check if it works there. Are you saying the example works for AR 9 but not for AR 8? -- 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
