I am seeing 2 issues with these types of annotations in Pdf Viewer.
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" />
Kindly try this and let us know if you have still issues.
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.
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,
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.
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?
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.
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.
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.
We believe that the suggested solution resolves the reported issue at your end without the external web service.