Redaction Artifacts

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?




8 Replies

RB Rajavignesh BalaSankar Syncfusion Team June 8, 2022 01:39 PM UTC

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.

  1. Modified sample 

  2. Detailed replication steps 

  3. Syncfusion Product Version    

  4. .NET Framework / .NET Core

  5. Visual Studio and its version. 


Regards,

Raja Vignesh.


Attachment: FindTextRedact_623c92cc.zip


DA Dave June 8, 2022 02:37 PM UTC

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


Attachment: MainWindow.xaml_bd12dadf.zip


DA Dave June 8, 2022 03:35 PM UTC

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.


Attachment: 30340InvestmentMemorandum_e7148e18.zip


DA Dave June 8, 2022 03:44 PM UTC

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




RB Rajavignesh BalaSankar Syncfusion Team June 9, 2022 04:13 PM UTC

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.


Attachment: MainWindow.xaml_bd12dadf_60eb0b52.zip


DA Dave June 10, 2022 10:26 PM UTC

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.



RB Rajavignesh BalaSankar Syncfusion Team June 13, 2022 02:05 PM UTC

Hi Dave, 


We are currently working on this sample process and will update further details on 14th June 2022.


Regards,

Raja Vignesh.



RB Rajavignesh BalaSankar Syncfusion Team June 14, 2022 05:30 AM UTC

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.


Loader.
Up arrow icon