Export annotations does not include text annotations

When exporting annotations, text annotations are not include. (Using v18.1.0.45 - CLIENT SIDE APP)

1. Add a "Free Text" annotation to a document loaded in the PDF Viewer

2. Export the annotations.

Result => The text entered in step 1 is no where to be found in the exported annotations.

14 Replies

AA Akshaya Arivoli Syncfusion Team April 27, 2020 09:43 AM UTC

Hi Arthur, 

Thank you for contacting Syncfusion support. 

We are unable to reproduce the reported issue with the provide details in V18.1.0.45. We suspect that you are using our remote serviceUrl which will cause the issue. Can you please try creating the PDF Viewer Web service project locally with v18.1.0.45 and try it. Please refer to the below link to create PDF Viewer web service project, 


Please try it and revert us with more details and the sample it you are still facing the issue. 

Regards, 
Akshaya 




AB Arthur Butler April 28, 2020 04:51 AM UTC

Yes, with the latest version of Syncfusion and using a local PDF Viewer web service, this is working well.  Thank you.


AA Akshaya Arivoli Syncfusion Team April 28, 2020 04:56 AM UTC

Hi Arthur, 

Thank you for your update. We are glad to know that the reported issue is resolved. 

Regards, 
Akshaya 



AB Arthur Butler April 16, 2021 10:08 AM UTC

This issue seems to have come back.  I am using v19.1.0.56 in a server side Blazor app.  In ExportAnnotations(),  pdfviewer.ExportAnnotation(jsonObject) returns the following:

The JSON value could not be converted to System.Collections.Generic.Dictionary`2[System.String,System.Int32]. Path: $.r | LineNumber: 0 | BytePositionInLine: 9."

Regards,
Arthur


DM Dhivyabharathi Mohan Syncfusion Team April 19, 2021 12:52 PM UTC

Hi Arthur, 
 
 
We were unable to reproduce the reported issue. We have shared the sample in which we tried to replicate the reported issue. Please find the sample from the below link. 
 
 
 
 
Kindly try this and revert us by modify the provided sample to replicate the reported issue. It will be helpful for us to investigate further and provide details. 
 
 
Regards, 
Dhivya. 
 
 



AB Arthur Butler April 19, 2021 10:29 PM UTC

See attached project.  Run the app.  Add a "free text" annotation to the PDF_Succinctly.pdf.  Once the annotation is added, then ExportAnnotations() is called to save the annotation on the server.  The issue that I mention happens on line 151 pf PdfViewerControll.cs.

Regards,
Arthur

Attachment: SfPdfViewerBlazorServer_2f06fbe.zip


DM Dhivyabharathi Mohan Syncfusion Team April 20, 2021 01:12 PM UTC

Hi Arthur, 
 
We were able to reproduce the reported issue with the provided details. We will analyze further and provide details on April 22nd, 2021. 
 
Regards, 
Dhivya. 



VS Vasugi Sivajothi Syncfusion Team April 22, 2021 03:22 PM UTC

Hi Arthur, 
We have confirmed that the “Export annotations does not include text annotations” is a defect and the fix will be included in our upcoming weekly release on May 5th 2021. 
 
 
Regards, 
Vasugi 



AB Arthur Butler May 9, 2021 04:22 AM UTC

Any update on this?  I do not see this fix in v1.19.0.59.

Regards,
Arthur


DM Dhivyabharathi Mohan Syncfusion Team May 10, 2021 12:28 PM UTC

Hi Arthur, 
 
We have fixed the reported issue in the version v19.1.0.59. We suggest you set the FillColor and BorderColor value in RGB format (rgb (255, 255, 255)) or in hex code(#ffffff00) instead of using “Transparent”  to get the issue resolved.  
 
 
Packages link:       
  
  
Blazor Client     
 
 
Blazor Sever    
  
 
 
Service side package       
ASP.NET Core :       
  
 
  
        
ASP.NET MVC:       
  
  
      
  
  
 
  
 
Kindly try this and revert us, if you have any concerns. 
 
Regards, 
Dhivya. 



AB Arthur Butler May 10, 2021 06:40 PM UTC

Thanks for the update.  I switched to using "#ffffff00" instead of "transparent" and it now saves and restores the annotations.  However, I did notice the following.

1. I default the border and fill colors to be "#ffffff00" and set the border thickness to 0.
2. I save the annotations.
3. I restore the annotations.

Result => the border thickness is now 1 and the border color is now white.

4. If I manually set the border (not by the default value), it does save/restore properly.

Regards,
Arthur


DM Dhivyabharathi Mohan Syncfusion Team May 11, 2021 01:15 PM UTC

  
Hi Arthur, 
 
We were able to reproduce the reported issue while saving the PDF document with the freeText annotations. We will analyze further and provide details on May 13, 2021. 
 
Regards, 
Dhivya. 



DM Dhivyabharathi Mohan Syncfusion Team May 13, 2021 02:23 PM UTC

Hi Arthur, 
 
 
We confirmed that the reported issue is a defect and the fix will be included in 2 June, 2021 weekly NuGet release. 
 
 
 
 
Regards, 
Dhivya. 
 



VS Vasugi Sivajothi Syncfusion Team June 2, 2021 12:29 PM UTC

Hi Arthur,  
 
We have fixed the reported issue and the fix for the reported issue was included in our latest weekly release v19.1.0.66. Kindly upgrade to that version to get the issue resolved. 
 
 
Package’s link:         
    
Blazor Client       
Blazor Sever      
Service side package         
    
ASP.NET Core:         
    
     
         
          
ASP.NET MVC:         
    
    
       
        
     
   
 
Regards, 
Vasugi. 
 


Loader.
Up arrow icon