# PdfRedactionApplyOptionsFluent

The fluent methods of PdfRedactionApplyOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfRedactionApplyOptions](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- PdfRedactionApplyOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfRedactionApplyOptions AllowImagePlacementOverlays(PdfRedactionApplyOptions pdfRedactionApplyOptions, bool value = true)` [#](#method-allowimageplacementoverlays-officeimo-pdf-pdfredactionapplyoptions-boolean)

Sets [PdfRedactionApplyOptions.AllowImagePlacementOverlays](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): 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.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { AllowImagePlacementOverlays = value };    pdfRedactionApplyOptions.AllowImagePlacementOverlays(value);
```

`public static PdfRedactionApplyOptions AppearanceMergeDistance(PdfRedactionApplyOptions pdfRedactionApplyOptions, double value)` [#](#method-appearancemergedistance-officeimo-pdf-pdfredactionapplyoptions-double)

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

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value double required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { AppearanceMergeDistance = value };    pdfRedactionApplyOptions.AppearanceMergeDistance(value);
```

`public static PdfRedactionApplyOptions AppearanceWidthQuantum(PdfRedactionApplyOptions pdfRedactionApplyOptions, double value)` [#](#method-appearancewidthquantum-officeimo-pdf-pdfredactionapplyoptions-double)

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

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value double required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { AppearanceWidthQuantum = value };    pdfRedactionApplyOptions.AppearanceWidthQuantum(value);
```

`public static PdfRedactionApplyOptions CleanupScope(PdfRedactionApplyOptions pdfRedactionApplyOptions, PdfRedactionCleanupScope value)` [#](#method-cleanupscope-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdfredactioncleanupscope)

Sets [PdfRedactionApplyOptions.CleanupScope](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): Explicit document-level residue cleanup. Defaults to intersecting content only.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value OfficeIMO.Pdf.PdfRedactionCleanupScope required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { CleanupScope = value };    pdfRedactionApplyOptions.CleanupScope(value);
```

`public static PdfRedactionApplyOptions FillColor(PdfRedactionApplyOptions pdfRedactionApplyOptions, OfficeColor value)` [#](#method-fillcolor-officeimo-pdf-pdfredactionapplyoptions-officeimo-officecolor)

Sets [PdfRedactionApplyOptions.FillColor](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): Fill color used for the visible redaction mark. Defaults to black.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { FillColor = value };    pdfRedactionApplyOptions.FillColor(value);
```

`public static PdfRedactionApplyOptions ImageDecoder(PdfRedactionApplyOptions pdfRedactionApplyOptions, IPdfRedactionImageDecoder? value)` [#](#method-imagedecoder-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-ipdfredactionimagedecoder)

Sets [PdfRedactionApplyOptions.ImageDecoder](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): Optional decoder used for image codecs, such as JPEG, that are intentionally not dependencies of the PDF core.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value OfficeIMO.Pdf.IPdfRedactionImageDecoder? required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { ImageDecoder = value };    pdfRedactionApplyOptions.ImageDecoder(value);
```

`public static PdfRedactionApplyOptions MaximumDecodedImageBytes(PdfRedactionApplyOptions pdfRedactionApplyOptions, int value)` [#](#method-maximumdecodedimagebytes-officeimo-pdf-pdfredactionapplyoptions-int32)

Sets [PdfRedactionApplyOptions.MaximumDecodedImageBytes](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): Maximum RGBA bytes accepted from an optional image decoder. Defaults to 256 MiB.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value int required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { MaximumDecodedImageBytes = value };    pdfRedactionApplyOptions.MaximumDecodedImageBytes(value);
```

`public static PdfRedactionApplyOptions PaintUnmatchedAreas(PdfRedactionApplyOptions pdfRedactionApplyOptions, bool value = true)` [#](#method-paintunmatchedareas-officeimo-pdf-pdfredactionapplyoptions-boolean)

Sets [PdfRedactionApplyOptions.PaintUnmatchedAreas](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): When true, redaction areas are painted even when no text or annotation match is found in the area.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { PaintUnmatchedAreas = value };    pdfRedactionApplyOptions.PaintUnmatchedAreas(value);
```

`public static PdfRedactionApplyOptions RemoveIntersectingPaths(PdfRedactionApplyOptions pdfRedactionApplyOptions, bool value = true)` [#](#method-removeintersectingpaths-officeimo-pdf-pdfredactionapplyoptions-boolean)

Sets [PdfRedactionApplyOptions.RemoveIntersectingPaths](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): Remove intersecting painted vector paths and rectangles from page content before applying the redaction mark.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { RemoveIntersectingPaths = value };    pdfRedactionApplyOptions.RemoveIntersectingPaths(value);
```

`public static PdfRedactionApplyOptions UnsupportedImagePolicy(PdfRedactionApplyOptions pdfRedactionApplyOptions, PdfRedactionUnsupportedImagePolicy value)` [#](#method-unsupportedimagepolicy-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdfredactionunsupportedimagepolicy)

Sets [PdfRedactionApplyOptions.UnsupportedImagePolicy](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/): Explicit fallback for JPEG, transformed, masked, indexed, or otherwise unsupported partial-image rewrites.

Parameters

**pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required**

The instance.

**value OfficeIMO.Pdf.PdfRedactionUnsupportedImagePolicy required**

The value.

Returns

`PdfRedactionApplyOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { UnsupportedImagePolicy = value };    pdfRedactionApplyOptions.UnsupportedImagePolicy(value);
```

## 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?`

<!-- PowerForge markdown artifact sha256:E2F999F4309B24B7715E811BC128100059C7914F032C45F5BE41A1DEC20AB4F8 -->
