We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Underline, Strikethrough, Highlight issues

I am seeing 2 issues with these types of annotations in Pdf Viewer.

  1. The Underline, Strikethrough, Highlight annotations do not work in v20.4.0.50.
  2. If I go back to v20.4.0.38, then the  Underline, Strikethrough, Highlight annotations look choppy as shown in the attached image.
Regards,
Arthur

Attachment: annotations_75342e3e.zip

7 Replies

VV Visvesvar Venkatesan Syncfusion Team February 21, 2023 12:43 PM UTC

We were unable to reproduce the reported issue with the provided details in version 20.4.50.


We suspect that you have updated only the server version(only the package updated) but not the client version. We have provided the image for reference below to update the client version.



Kindly update the highlighted script in your layout.cs html file to update.


<link rel='nofollow' href=https://cdn.syncfusion.com/blazor/20.4.50/styles/bootstrap5.css rel="stylesheet" />

<script src=https://cdn.syncfusion.com/blazor/20.4.50/syncfusion-blazor-pdfviewer.min.js type="text/javascript"></script>


Kindly try this and let us know if you have still issues.



AB Arthur Butler February 23, 2023 05:30 AM UTC

OK.  I have created an example and attached it here.  I still see the Underline, Strikethrough, Highlight annotations looking choppy as shown in the previously attached image.


Regards,

Arthur


Attachment: PdfViewer.NET7_fe331c18.zip


VV Visvesvar Venkatesan Syncfusion Team February 27, 2023 05:35 AM UTC

We were unable to reproduce the reported issue with the provided details. We have shared the sample in which we have tried to reproduce the issue in the below link,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/LO2A5E~11197194002.zip


The strikethrough, highlight and underline annotations were added without any choppy structure in our document

Note: We suspect the issue to document specific. Kindly provide us with the document in which you replicated the issue.

           Kindly ensure whether client and server are same version.

This will help us to analyze further and provide more details.



AB Arthur Butler February 28, 2023 12:58 AM UTC

I am still experiencing the issue.  I previously attached an example that demonstrated the issue that I am experiencing - PdfViewer.NET7_fe331c18.zip.  Client and server versions are the same.  Did something change on server controller in newer releases of Syncfusion?


Regards,

Arthur



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team February 28, 2023 04:50 PM UTC

We were able to reproduce the reported issue  “Underline, strikethrough and highlight behaves choppy when we use the web service externally” and suspect this to be a defect. We will analyze further on this and update you with more details in two business days.


Meanwhile, we would like to know why you use external service in a Blazor application. Please let us know this information, which will be helpful to consider during the investigation.



AB Arthur Butler February 28, 2023 06:43 PM UTC

I use the external service in the Blazor application so that I can capture annotation changes and save them to the server database.  Each user of my app has a unique set of annotations.  The web service also loads the documents based on settings in the database.



VV Visvesvar Venkatesan Syncfusion Team March 1, 2023 12:24 PM UTC

You can save annotations as JSON files and we have provided the documentation below to import and export annotations as JSON files using the Blazor PDF Viewer.


You can also achieve this programmatically in Blazor and no need to use the external service.


Documentation: https://blazor.syncfusion.com/documentation/pdfviewer/annotation/import-export-annotation


We believe that the suggested solution resolves the reported issue at your end without the external web service.



Loader.
Live Chat Icon For mobile
Up arrow icon