# RedactionOptions Class (Preview)

> RedactionOptions class for the Redact Document activity, holding a list of per-field redaction settings that override the global redaction appearance.

`RedactionOptions` is a public class that holds per-field redaction settings for the [Redact Document](https://docs.uipath.com/activities/other/latest/document-understanding/redact-document) activity.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Redaction`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

The `RedactionOptions` class is the value you provide to the **RedactionOptions** input of the Redact Document activity. It groups a list of per-field redaction settings, letting you override the global redaction appearance for individual taxonomy fields or for the **Words To Redact** input. Fields without a matching entry use the global **FillColor**, **BorderColor**, and **BorderThickness** values set on the activity.

## Members

### Properties

* `Fields` `<FieldRedactionSettings>` - The per-field redaction settings. Each [FieldRedactionSettings](https://docs.uipath.com/activities/other/latest/document-understanding/fieldredactionsettings-class) entry targets a taxonomy field by its id, or the **Words To Redact** input when the field id is empty.
