|
| 1 | +# Smart Redaction using Syncfusion Blazor PDF Viewer |
| 2 | + |
| 3 | +This repo contains the example Blazor application which performs redaction smartly using Blazor PDF Viewer and AI. |
| 4 | + |
| 5 | +Here, the sample demonstrates how the Syncfusion Blazor PDF Viewer can intelligently redact sensitive information using AI assistance. |
| 6 | + |
| 7 | +**Steps to run the sample:** |
| 8 | + |
| 9 | +1. Running the sample will render the PDF Viewer and load a default PDF document, as shown in the below image. |
| 10 | + |
| 11 | +  |
| 12 | + |
| 13 | + |
| 14 | +2. The Smart Redact button opens a pane at the right side, allowing for smart redaction. |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +3. Choose the sensitive patterns to redact from the smart redaction pane and then click the Scan button. |
| 20 | +4. The sensitive values for the selected patterns will be displayed in the tree view, and are selected by default. |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +5. You can check or uncheck the values to redact. Checked values will be highlighted by a rectangle. |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +6. The Redact button will be enabled if any value is ready to be redacted. Click the Redact button to redact the highlighted content. |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +7. Additionally, if the document contains any sensitive information that is not detected by the smart redaction, you can manually redact using the Mark for Redaction option. |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + a. Click the Mark for Redaction button in the toolbar, then draw a rectangle over the content you want to redact. |
| 41 | +  |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + b. You can mark multiple content as needed. |
| 46 | + c. Click the Redact button to reload the redacted document into the viewer. |
| 47 | +  |
| 48 | + |
| 49 | +  |
| 50 | + |
| 51 | + |
| 52 | + |
0 commit comments