Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Thu Apr 16, 2015 2:41 pm
I have a one page pdf and one anntotation nearly on start of text within this pdf.
If I call now:
PdfDocument pdf = new PdfDocument(str_annotation_file);
//there is only one page
pdf.Pages[0].AnnotationsWidget.RemoveAt(0);
pdf.SaveToFile(str_annotation_file);
It seems it removes the annotation.
But the only concern is, if I open the pdf the old annotation is displayed.
The position marker is removed, so this is fine.
If I look under Comments in Adobe Acrobat it's also empty.
Only the Annotation is displayed even if it not exists any more.
It also disappears if I look under the comments.
Any ideas what goes wrong?
-
tkup
-
- Posts: 1
- Joined: Thu Apr 16, 2015 2:34 pm
Fri Apr 17, 2015 8:50 am
Hello,
Thanks for your inquiry.
I have reproduced your issue. And I have posted the issue to our dev team. We will inform you when it is fixed. Sorry for convenience.
Sincerely,
Sweety
E-iceblue support team
-
sweety1
-
- Posts: 539
- Joined: Wed Mar 11, 2015 1:14 am
Mon May 18, 2015 8:12 am
Hello,
Sorry to keep you waiting.
The new version of Spire.PDF(Spire.PDF Pack Version:3.4) solved your issue "Delete annotations" has been released. Please download it via link below and have a try:
http://www.e-iceblue.com/Download/download-pdf-for-net-now.htmlBest Regards,
Sweety
E-iceblue support team
-
sweety1
-
- Posts: 539
- Joined: Wed Mar 11, 2015 1:14 am
Thu May 21, 2015 8:37 am
Hello,
Have you tried the
Spire.PDF Pack Version:3.4? Has your issue been resolved?
Thanks for your feedback.
Best Regards,
Sweety
E-iceblue support team
-
sweety1
-
- Posts: 539
- Joined: Wed Mar 11, 2015 1:14 am