In this tutorial, you learn how to search, find, redact text on PDF document in C#.
Before you distribute a PDF, you may want to examine the document for sensitive content or private information that can trace the document to you.
Use the PDF C# library redaction API to remove or redact sensitive text that is visible in a PDF.
Redaction is the process of permanently removing visible text and graphics from a PDF document. The following C# sample code
explains how to redact an area from the PDF page.
The following source code will help you add redaction annotations to the pdf pages. Redaction annotations will not remove the redacted content from the pdf file. You need use PDF reader/writer software (such as Acrobat Pro) to apply the redactions.
Is redaction permanent in PDFs?
After the redactions in PDF have been applied, the PDF editor applications will permanently remove the text, image and other information from the PDF document after saved.
Using C# PDF redaction library, you can mark all the redactions you need and apply to permanently delete all redactions from the PDF document in C# ASP.NET Core MVC web
and Windows Forms applications.
How do you black out text in a PDF?
There are two ways to remove text from a PDF file. One is deleting them through PDF content editing function. The other is redacting the specified text from PDF document
permanently. Using RasterEdge XDoc.PDF C# library, you can delete text content directly from the PDF pages, or mark them to redact and apply redaction on the PDF file
using C# codes in Visual Studio .NET projects.
Why can't I redact text in PDF?
If your PDF document is a digitally signed PDF file, you cannot apply redaction to remove text from it.
Using C# PDF library, you can quickly add a digital signature on the PDF document to prevent users to redact, modify the document in C# web and desktop apps.
How to black out text in PDF without Adobe Acrobat?
There are many free online tools or desktop PDF editing tools to support PDF document text redaction without Acrobat installed.
You can also build a simple PDF text redaction tool using XDoc.PDF C# library, or use EdgePDF asp.net web pdf editor demo app to black out text from PDF file.
How to remove text from PDF without Adobe?
You can remove or delete searched or specified text from PDF file using PDF editing tools (online or desktop version).
Using RasterEdge C# PDF library, you can quickly remove multiple searched text results from a PDF file in your C# WPF or WinForms applications.
What's the difference between editing and redacting?
Redacting text is removing or blacking out sensitive text information from an existing PDF document. It usually will keep redacted text space. Editing text including text deleting is the process of working
on a PDF document to improve content structure. It usually will not keep the deleted text space.
Using RasterEdge C# PDF library, you can search and find the texts and delete or redact them from the PDF file in your C# asp.net, mvc, web or Windows applications.
How do you repeat redaction mark across pages?
Most PDF editing programs support repeat text redaction on a PDF file. You usually mark the first text redaction, and repeat them by right clicking.
Using C# PDF library, you can do batch text redaction on the PDF document in your Visual Studio .NET projects.