This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/dotnet/redaction.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Redact PDF in C# .NET: Permanent PDF redaction | Nutrient .NET SDK

Redact PDFs in C# .NET

Permanently redact and remove sensitive information from PDFs using C#. Search and redact specific fields like emails, names, phone numbers, and addresses. Integrate smart PDF redaction to automatically identify and redact key values in documents.


Coordinate-based redaction

For precise manual redaction, you can define rectangular regions and apply permanent redaction in a few steps:

using GdPicture14;
LicenseManager licence = new LicenseManager();
licence.RegisterKEY("");
using GdPicturePDF pdf = new GdPicturePDF();
pdf.LoadFromFile(@"input.pdf");
pdf.AddRedactionRegion(72, 707, 40, 14);
pdf.ApplyRedaction();
pdf.SaveToFile(@"output.pdf");

For multi-page and advanced coordinate control, see Redact using coordinates.

Smart redaction

Based on its advanced artificial intelligence (AI) and document understanding engine, Nutrient .NET SDK recognizes sensitive information in a document and marks it for redaction. After you validate these marks, Nutrient .NET SDK removes them from the document.

Learn more

Start your free trial for unlimited access and expert support.