Re: [iText-questions] Remove existing annotation!

2014-04-04 Thread Paresh Tahiliani
http://itext-general.2136553.n4.nabble.com/I-Want-to-Change-all-the-Links-Destination-of-Existing-Pdf-to-PdfDestination-XYZ-1-1-0-0F-tt4659908.html buddy here i changed the link property using annotations. check it out. You would be more clear -- View this message in context: http://itext-gene

Re: [iText-questions] Remove existing annotation!

2014-04-03 Thread Eric Chow
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 wrote: > PdfDi

Re: [iText-questions] Remove existing annotation!

2014-04-03 Thread Paresh Tahiliani
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