# PdfRedactionApplyOptions

Options controlling how planned PDF redaction areas are applied.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfRedactionApplyOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L47)

**Implements**

`IPdfOperationCancellation`

**Modifiers**

sealed

Options controlling how planned PDF redaction areas are applied.

## Inheritance

- object
- PdfRedactionApplyOptions

## Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 3

- Method [PdfDocumentRedactions.Apply](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-apply-collections-generic-ienumerable-officeimo-pdf-pdfredactionarea-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `applyOptions`
- Method [PdfDocumentRedactions.ApplyForSharing](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-applyforsharing-officeimo-pdf-pdfredactionplan-officeimo-officehiddendataoptions-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdfredactionverificationoptions-threading-cancellationtoken) parameter `applyOptions`
- Method [PdfDocumentRedactions.ApplyWithEvidence](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-applywithevidence-officeimo-pdf-pdfredactionplan-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdfredactionverificationoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `applyOptions`

Filter members 

Show inherited

## Constructors

`public PdfRedactionApplyOptions()` [#](#constructor-ctor)

[PdfRedactionApplyOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L47)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OfficeColor FillColor { get; set; }` [#](#property-fillcolor)

[PdfRedactionApplyOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L47)

Fill color used for the visible redaction mark. Defaults to black.

`public bool PaintUnmatchedAreas { get; set; }` [#](#property-paintunmatchedareas)

[PdfRedactionApplyOptions.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L52)

When true, redaction areas are painted even when no text or annotation match is found in the area.

`public bool AllowImagePlacementOverlays { get; set; }` [#](#property-allowimageplacementoverlays)

[PdfRedactionApplyOptions.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L57)

When true, redaction areas that intersect image placements are allowed to be painted as visual overlays even though image pixels and resources are not rewritten.

`public PdfRedactionUnsupportedImagePolicy UnsupportedImagePolicy { get; set; }` [#](#property-unsupportedimagepolicy)

[PdfRedactionApplyOptions.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L60)

Explicit fallback for JPEG, transformed, masked, indexed, or otherwise unsupported partial-image rewrites.

`public PdfRedactionCleanupScope CleanupScope { get; set; }` [#](#property-cleanupscope)

[PdfRedactionApplyOptions.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L63)

Explicit document-level residue cleanup. Defaults to intersecting content only.

`public bool RemoveIntersectingPaths { get; set; }` [#](#property-removeintersectingpaths)

[PdfRedactionApplyOptions.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L66)

Remove intersecting painted vector paths and rectangles from page content before applying the redaction mark.

`public double AppearanceMergeDistance { get; set; }` [#](#property-appearancemergedistance)

[PdfRedactionApplyOptions.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L69)

Maximum horizontal gap, in PDF user-space units, merged by [PdfRedactionAppearanceMode.MergeNearby](/api/pdf/officeimo-pdf-pdfredactionappearancemode/). Defaults to 4.

`public double AppearanceWidthQuantum { get; set; }` [#](#property-appearancewidthquantum)

[PdfRedactionApplyOptions.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L72)

Width quantum, in PDF user-space units, used by [PdfRedactionAppearanceMode.QuantizedWidth](/api/pdf/officeimo-pdf-pdfredactionappearancemode/). Defaults to 24.

`public IPdfRedactionImageDecoder? ImageDecoder { get; set; }` [#](#property-imagedecoder)

[PdfRedactionApplyOptions.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L75)

Optional decoder used for image codecs, such as JPEG, that are intentionally not dependencies of the PDF core.

`public int MaximumDecodedImageBytes { get; set; }` [#](#property-maximumdecodedimagebytes)

[PdfRedactionApplyOptions.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyOptions.cs#L78)

Maximum RGBA bytes accepted from an optional image decoder. Defaults to 256 MiB.

<!-- PowerForge markdown artifact sha256:2EB1D601FB40AE5CBC474B3135004B5056BFB90BDB725E75C5A73A8A252E277E -->
