GdPicture.NET is a Nutrient product. Learn more

.NET SDK for secure document redaction

Permanently remove sensitive information from PDF and image documents in C#. Use AI-powered smart redaction to automatically detect and redact credit card numbers, emails, phone numbers, SSNs, IBANs, and addresses. Search and redact by text or regex patterns. True redaction — content is removed, not just hidden.



PDF redaction in C#

Remove sensitive and personal data from PDF and image documents programmatically. Integrate redaction into your document workflows to safely share or archive files.

How it works:


  1. Add one or several redaction marks
  2. Apply all redactions
  3. Clear redactions if necessary
PDF redaction feature
Customizable redaction appearance

Customize the appearance of redaction marks to match your needs and branding requirements.

Regulatory compliance

Ensure compliance with data protection regulations by permanently removing sensitive information from documents.

Demo

Try redacting PDFs live

Test redaction features in your browser. Remove sensitive data from PDFs using DocuVieware, our HTML5 viewer and document management kit.

Loading redaction viewer...

Get started

How to use

Download and install the GdPicture.NET package to access compiled demo applications and multi-language sample projects with full source code.

Explore demo apps
Find compiled demo applications in \Samples\Bin\.
Explore source code
Find an example of a full application (the source code of PDF reducer) in \Samples\WinForm\.
Visit reference guide
Explore other code snippets within the online reference guide.

Example of usage

This code example adds a redaction region on the selected page of the loaded PDF document.

using GdPicturePDF gdpicturePDF = new GdPicturePDF();
// Load the source document.
gdpicturePDF.LoadFromFile(@"C:\temp\source.pdf");
// Specify the areas to redact.
gdpicturePDF.SelectPage(1);
gdpicturePDF.AddRedactionRegion(120, 300, 140, 20);
gdpicturePDF.SelectPage(2);
gdpicturePDF.AddRedactionRegion(100, 280, 70, 15);
// Run the redaction process.
gdpicturePDF.ApplyRedaction();
// Save the output in a PDF document.
gdpicturePDF.SaveToFile(@"C:\temp\output.pdf");

Trusted by 3,000+ customers and Fortune 500 companies

15Y+
More than 15 years of experience developing our SDK
10K+
Trusted by more than 10,000 developers


Frequently asked questions

How does the GdPicture.NET PDF redaction SDK ensure the permanent removal of sensitive information?

The SDK provides robust redaction capabilities that permanently remove visible text and graphic elements from PDF documents. Once applied, the redacted content is destroyed and cannot be recovered, ensuring the confidentiality of sensitive information.

Can the redaction process be customized to highlight the type of information removed?

Yes. The SDK allows customization of redaction marks. Users can modify the appearance by selecting specific colors for different types of content. Additionally, titles and comments can be added to redaction marks to provide context, facilitating collaborative work and enhancing document clarity.

Does the SDK support automated detection and redaction of sensitive data?

Absolutely. The GdPicture.NET PDF redaction SDK incorporates smart redaction technology that utilizes AI-driven techniques to automatically identify and redact various types of sensitive information, such as credit card numbers, email addresses, phone numbers, VAT IDs, URIs, and IBANs. This automation streamlines compliance and data protection efforts.

Is the SDK capable of processing multiple documents simultaneously for redaction?

Yes. The SDK supports batch processing, enabling users to apply redaction to multiple PDF documents efficiently. This feature is particularly beneficial for organizations handling large volumes of sensitive information, as it reduces manual effort and enhances operational efficiency.

How does the GdPicture.NET PDF redaction SDK assist in regulatory compliance?

The SDK’s redaction features help organizations comply with data protection regulations, such as the General Data Protection Regulation (GDPR) in Europe and the California Privacy Act in the United States. By permanently removing sensitive and personal data from documents, the SDK ensures that organizations adhere to legal requirements for data privacy and protection.

Is GdPicture’s redaction engine consistent with what Nutrient uses in its web and mobile SDKs?

Yes. GdPicture.NET is one of Nutrient’s core products, and the redaction technology is the same across Nutrient’s desktop, web, and mobile SDKs, ensuring permanent and reliable content removal on all platforms.

60-day free trial

Try GdPicture.NET now!