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.
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:
Customize the appearance of redaction marks to match your needs and branding requirements.
Ensure compliance with data protection regulations by permanently removing sensitive information from documents.
Demo
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
Download and install the GdPicture.NET package to access compiled demo applications and multi-language sample projects with full source code.
\Samples\Bin\.\Samples\WinForm\.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");Using gdpicturePDF As 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")End UsingThe 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.
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.
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.
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.
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.
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