# PdfRedactionApplyResult

Rewritten PDF bytes together with the selected mutation path and redaction evidence.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[PdfRedactionApplyResult.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L179)

**Modifiers**

sealed

Rewritten PDF bytes together with the selected mutation path and redaction evidence.

## Inheritance

- object
- PdfRedactionApplyResult

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Redact PDF Content](/docs/pdf/redaction/) Guide
  
  Find sensitive text with literal or regex searches, review the plan, remove the content and verify the redacted PDF with OfficeIMO.Pdf.

## Usage

Explore 2 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.

### Returned or exposed by 2

- 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)
- Method [PdfRedactionApplyResult.ThrowIfUnverified](/api/pdf/officeimo-pdf-pdfredactionapplyresult/#method-throwifunverified)

Filter members 

Show inherited

## Methods

`public PdfRedactionApplyResult ThrowIfUnverified()` [#](#method-throwifunverified)

[PdfRedactionApplyResult.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L183)

Throws when the rewritten artifact did not pass every configured evidence check.

Returns

`PdfRedactionApplyResult`

`public PdfDocument ToDocument()` [#](#method-todocument)

[PdfRedactionApplyResult.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L179)

Opens the rewritten bytes through the normal fluent document API.

Returns

`PdfDocument`

## 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 byte[] Pdf { get; }` [#](#property-pdf)

[PdfRedactionApplyResult.cs:167](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L167)

Rewritten PDF bytes.

`public PdfMutationPlan MutationPlan { get; }` [#](#property-mutationplan)

[PdfRedactionApplyResult.cs:170](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L170)

Full-rewrite decision used for the redaction mutation.

`public PdfRedactionEvidenceReport Evidence { get; }` [#](#property-evidence)

[PdfRedactionApplyResult.cs:173](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L173)

Source-bound actual-versus-planned redaction evidence.

`public bool IsVerified { get; }` [#](#property-isverified)

[PdfRedactionApplyResult.cs:176](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf/Manipulation/PdfRedactionApplyResult.cs#L176)

True when the rewritten artifact passed every configured evidence check.

<!-- PowerForge markdown artifact sha256:3F3A61A6BAAFA54C30B9A8A9FDD2555CCA047B7909A3D2FC0832C26B88BF098B -->
