Dear Paresh, Thanks for your teach. But after I added the codes as you listed, the annotation still here.
How can I completely remove and make it disappeat in the PDF ? Would you please to show me some codes? Best regards, Eric On Thu, Apr 3, 2014 at 7:05 PM, Paresh Tahiliani <paresh...@gmail.com>wrote: > PdfDictionary annots = > (PdfDictionary)PdfReader.getPdfObject(arrAnnot.get(j)); > annots.remove(PdfName.Dest); > > here i removed destination of link annotation > PdfDictionary class object.remove method to remove annotations. > > > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/Remove-existing-annotation-tp4659910p4659911.html > Sent from the iText - General mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 >
------------------------------------------------------------------------------
_______________________________________________ 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