The Syncfusion .NET Core PDF library provides an easy way to permanently remove confidential or sensitive information from PDF documents with just a few lines of code. It complies fully with privacy laws such as GDPR (General Data Protection Regulation).
Mark sensitive or confidential data programmatically and forward it to the next person for further review and approval before redacting.
Remove sensitive or confidential text, images, areas, or entire pages entirely and permanently from the PDF documents.
Programmatically search the entire document to identify a specific text and personal information. Then, automatically mark and redact sensitive information patterns related to phone numbers, credit cards, and email addresses.
Draw the overlay text on the redacted area and customize the overlay text with a different font, style, color, and brush.
Redact the information from a page by drawing an image on the redacted area. This will completely remove the content from the PDF document and apply the image over the redacted area.
Remove the sensitive content from a PDF document by adding a mosaic pattern on redacted areas.
Draw a filled rectangle or any other graphical shape on redacted bounds. This will completely remove the content from the PDF document and apply the custom appearance to the redacted area.
Completely remove any form fields and annotations in the given redacted area.
Remove the confidential content from the page in the PDF document with just a few lines of C# code, as demonstrated in the following code. Please explore .NET Core PDF Example that shows how to redact the content from a PDF document.
//Load the PDF document from stream
using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument(inputStream))
{
PdfLoadedPage loadedPage = loadedDocument.Pages[0] as PdfLoadedPage;
//Create a PDF redaction for the page
PdfRedaction redaction = new PdfRedaction(new RectangleF(340, 120, 140, 20));
//Add redaction to the first page
loadedPage.Redactions.Add(redaction);
//Save the redacted PDF document to the memory stream
MemoryStream stream = new MemoryStream();
loadedDocument.Save(stream);
}
The PDF redaction annotation flatten operation is currently supported in the .NET Framework and ASP.NET Core platforms only, it is not supported in the UWP, Xamarin platforms.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.