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.

Mon Feb 01, 2021 4:38 pm

Hi,

I use freeSpire in C# to move annotations in a pdf. It's work well for all annotations except "pencil annotations". For exemple, the next code won't delete pencil annotations :
Code: Select all
using Spire.Pdf;
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputPathFile);
pdf.Pages[0].AnnotationsWidget.Clear();


it's look like these kind of annotationd were "drawing" but I'm not able to retrieve drawing for moving or deleting.

For information, this is the fdf doc (shorted) with the annotation :
%FDF-1.2
%âãÏÓ
1 0 obj
<</FDF<</Annots[2 0 R 3 0 R]/F(/C/Users/..._AnnotDecale.pdf)/ID[<FA...8FA8D><1F0...A439>]/UF(/C/Use...d_AnnotDecale.pdf)>>/Type/Catalog>>
endobj
2 0 obj
<</C[0.898041 0.133331 0.215683]/CreationDate(D:20210201132428+01'00')/F 4/InkList[[359.98...137][433...51]]/M(D:20210201132431+01'00')/NM(cb047a0c-aa72-48ff-8f3c-e69dfd4ec7cc)/Page 0/Popup 3 0 R/Rect[345.885 570.51 469.89 789.683]/Subj(Crayon )/Subtype/Ink/T(XXX)/Type/Annot>>
endobj
3 0 obj
<</F 28/Open false/Page 0/Parent 2 0 R/Rect[595.32 674.683 799.32 788.683]/Subtype/Popup/Type/Annot>>
endobj
trailer
<</Root 1 0 R>>
%%EOF


My program is a c# console application .NET framework 4.7.2 and I use FreeSpire 6.10.6.

Thanks for your help,

camille_59
 
Posts: 12
Joined: Mon Feb 01, 2021 4:21 pm

Tue Feb 02, 2021 3:47 am

Hello,

Thanks for your inquiry.
Regarding the “pencil annotations”, do you mean this kind of annotation (as shown below)? I simulated a PDF file with such annotations and then tested your code, and indeed reproduced your issue. I have logged this issue in our bug tracking system with the ticket SPIREPDF-4020 for further investigation. If there is any update, we will let you know. Sorry for the inconvenience caused.
screenshot.png

Or if I misunderstood, to help us investigate further, please provide us with your input file. Thanks in advance.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Feb 02, 2021 8:08 am

Hello Brian,

Thanks for your quick answer.

That's exactely the tool I use.

I understand the functionnality is not OK in the current version.
Do you think it will be fix in a short futur (days, weeks) or a long futur (months years) ?

Sincerely
Camille

camille_59
 
Posts: 12
Joined: Mon Feb 01, 2021 4:21 pm

Tue Feb 02, 2021 10:00 am

Hello Camille,

Thanks for your response.
Sorry that we are unable to tell you an estimated time about fixing at this moment. Our Dev team will investigate further and fix it. Anyway, once there is any update, we will inform you ASAP.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Sat Feb 20, 2021 9:55 am

Hello Camille,

Glad to inform you that we just released Spire.PDF Pack(Hot Fix) Version:7.2.9 which fixes your issue, please download it from the following links to test on your side. Looking forward to your testing result.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/7.2.9

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri Feb 26, 2021 6:50 am

Hello Camille,

Greetings from E-iceblue.
Does the hotfix solve your issue? Could you please give us some feedback at your convenience?

Sincerely,
Brian
E-iceblue suport team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Mar 09, 2021 4:03 pm

Hello,

I confim the hotfixe solves my issue !

Thanks a lot,

camille_59
 
Posts: 12
Joined: Mon Feb 01, 2021 4:21 pm

Wed Mar 10, 2021 1:15 am

You are welcome.
If you encounter any issues related to our products in the future, please feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.PDF