I am testing the redaction capabilities with the FindText&Redact_2015.sln sample.
In the viewer, I enter a term and the redaction works as expected.
When i remove that term, uncheck the Mark for Redaction checkbox and enter a new term, then check the checkbox, I get Mark artifacts from the first term a few pages later in the document, to the end of the document.
How can i remove the artifacts, or ensure marking is done before the next marking, when the user unchecks the checkbox?
Hi Dave,
We tried to reproduce the reported issue with the mentioned FindText&Redact2015 sample, but we couldn’t be able to reproduce the reported issue on our end. We have also attached the sample that we used for reproducing the issue along with a recorded video below for your reference. We kindly request you to share the below mentioned details to analyze further on this and provide you a better solution.
Modified sample
Detailed replication steps
Syncfusion Product Version
.NET Framework / .NET Core
Visual Studio and its version.
Regards,
Raja Vignesh.
I used the 2015 solution, i upgraded to .net 4.8, using latest visual studio.
The version of pdfviewer is 20. something.
The issue arises when i am working with files that have more than 40 pages.
Sometimes there are many artifacts, usually there are none, but to have even 1 is a problem.
I have attached the project file
I was able to reproduce the artifacts with your zip project, this time, the artifacts were on the second page and numerous.
i attached the file i am using, first term, elca, check the mark checkbox, then erase elca, enter company, then uncheck and check the mark checkbox.
another image of the behavior, it seems that the user must click the clear button before entering another term.
I will workaround this by clearing before executing the mark code
Hi Dave,
We can be able to reproduce the reported issue on our end with the provided document. This was due to not clearing the previously marked regions for reduction before marking another region for redaction. When we are marking another word for redaction, we need to clear the previously marked regions. We have modified the provided sample and attached below for your reference. Please let us know if you need further assistance on this.
Regards,
Raja Vignesh.
Thanks for the reply. I am curious, is it possible to loop a list of terms?
I have successfully implemented that, but i get a few random misses.
It would be ideal if it could redact a string[] of terms.
Hi Dave,
We are currently working on this sample process and will update further details on 14th June 2022.
Regards,
Raja Vignesh.
Hi Dave,
On further investigation, we discovered that the problem appears to be at the source level, and we've created a ticket under your account for better follow-up. So please follow this issue on the ticket for more information.
Regards,
Raja Vignesh.