Some test text!

keyboard_arrow_down

Get started

keyboard_arrow_down

Xamarin.Forms

keyboard_arrow_down

Fundamentals

keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

keyboard_arrow_down

Annotation and collaboration

keyboard_arrow_down

Advanced customization

keyboard_arrow_down

Conversion

keyboard_arrow_down

Parsing and extraction

keyboard_arrow_down

Digital signatures

keyboard_arrow_down

Form filling

keyboard_arrow_down

Search

keyboard_arrow_down

Redaction

keyboard_arrow_down

Advanced topics

keyboard_arrow_down

Reference

keyboard_arrow_down

PDF Processing API

Use redaction tool

In this document
chevron_rightOverview
chevron_rightBuilt-in redaction tool
chevron_rightNext steps
This tutorial only applies to Xamarin.Android.

linkOverview

Redaction typically involves removing sensitive content within documents for safe distribution to courts, patent and government institutions, the media, customers, vendors or any other audience with restricted access to the content. The redaction process in PDFTron consists of two steps:

  • Content identification: A user applies redact annotations that specify the pieces or regions of content that should be removed. The content for redaction can be identified either interactively (e.g. using PDFViewCtrl) or programmatically (e.g. using TextSearch or TextExtractor). Up until the next step is performed, the user can see, move and redefine these annotations.

  • Content removal: Using Redactor.Redact() the user instructs PDFTron to apply the redact regions, after which the content in the area specified by the redact annotations is removed. The redaction function includes number of options to control the style of the redaction overlay (including color, text, font, border, transparency, etc.).

PDFTron Redactor makes sure that if a portion of an image, text, or vector graphics is contained in a redaction region, that portion of the image or path data is destroyed and is not simply hidden with clipping or image masks.

PDFTron API can also be used to review and remove metadata and other content that can exist in a PDF document, including XML Forms Architecture (XFA) content and Extensible Metadata Platform (XMP) content.

linkBuilt-in redaction tool

The Tools package comes with a TextRedactionCreate tool and a RectRedactionCreate tool that allow redaction on any region or through text selection.

Text redactionRectangular redaction

The built-in redaction tool will continue to improve in the near future.

linkNext steps

Keep in mind that PDFTron's redact feature can do much more! See related topics here: