Removing annotations from PDF

Ok thanks let m try this. I can see the a “Note” image in the converted PDF for the Embed Attachment. Is there any code in ASPOSE to remove this? Attached the image. I tried the below code. But after deleting the annotations the sttachment is not opening.

Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(filepath);
for (int i = 1; i < pdfDocument.Pages.Count; i++)
{
    pdfDocument.Pages[i].Annotations.Delete();
}

Thanks
Jithin V P

@jithin.p

Can you please share the sample PDF with us so that we can test the scenario in our environment and address it accordingly?

Hi,
Attached the word document. While convertig this document to PDF by setting EmbedAttchment property to True, the annotation issue exists. Can you please check?

TestDoc.docx (148.1 KB)

Thanks
Jithin V P

@jithin.p
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27523

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.