An easy to understand guide on how to remove sensitive data from region in C# with this source code sample. Want to remove sensitive data from region in your C# app? ByteScout Sensitive Data Suite is designed for it. ByteScout Sensitive Data Suite is the bundle that includes multiple components from ByteScout for working with sensitive and personal data. With these components you may analyze, redact, remove, blackout sensitive data in documents and pdf.
The following code snippet for ByteScout Sensitive Data Suite works best when you need to quickly remove sensitive data from region in your C# application. Follow the instructions from scratch to work and copy the C# code. Enjoy writing a code with ready-to-use sample C# codes.
If you want to try other source code samples then the free trial version of ByteScout Sensitive Data Suite is available for download from our website. Just try other source code samples for C#.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System; using System.Drawing; using Bytescout.PDFExtractor; namespace RemoveSensitiveDataFromRegion { class Program { static void Main(string[] args) { // Create Bytescout.PDFExtractor.Remover instance Remover remover = new Remover("demo", "demo"); // Load sample PDF document remover.LoadDocumentFromFile(@"sample1.pdf"); // Remove text objects contained in the specified rectangle or intersecting with it. // NOTE: The removed text might be larger than the specified rectangle. Currently the Remover is unable // to split PDF text objects. remover.RemoveText(0, new RectangleF(45f, 101f, 183f, 310f), @"result1.pdf"); // Open output file in default application System.Diagnostics.Process.Start("result1.pdf"); // Clean up. remover.Dispose(); } } }
60 Day Free Trial or Visit ByteScout Sensitive Data Suite Home Page
Explore ByteScout Sensitive Data Suite Documentation
Explore Samples
Sign Up for ByteScout Sensitive Data Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Sensitive Data Suite Home Page
Explore ByteScout Sensitive Data Suite Documentation
Explore Samples
Sign Up for ByteScout Sensitive Data Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples