# PdfRedactionPlan

Preview of text, image placements, vectors, and annotations that intersect requested redaction areas.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfRedactionPlan.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L41)

**Modifiers**

sealed

Preview of text, image placements, vectors, and annotations that intersect requested redaction areas.

## Inheritance

- object
- PdfRedactionPlan

## 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.
- [Redact literal text from a PDF](/pdf/redact/) Guide
  
  Find literal text matches, remove the matched PDF content, and verify extracted text, encoded strings, and decoded streams before download.

## Usage

Explore 9 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 4

- Method [PdfDocumentRedactions.Plan](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-plan-collections-generic-ienumerable-officeimo-pdf-pdfredactionregion-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken)
- Method [PdfDocumentRedactions.PlanAnnotations](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-planannotations-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions)
- Method [PdfDocumentRedactions.Search](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-search-officeimo-pdf-pdfredactionsearchoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken)
- Property [PdfRedactionEvidenceReport.ReviewedPlan](/api/pdf/officeimo-pdf-pdfredactionevidencereport/#property-reviewedplan)

### Accepted by parameters 5

- Method [PdfDocumentRedactions.Apply](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-apply-officeimo-pdf-pdfredactionplan-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `plan`
- Method [PdfDocumentRedactions.ApplyForSharing](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-applyforsharing-officeimo-pdf-pdfredactionplan-officeimo-officehiddendataoptions-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdfredactionverificationoptions-threading-cancellationtoken) parameter `plan`
- 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 `plan`
- Method [PdfDocumentRedactions.AssertAppliedPlan](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-assertappliedplan-officeimo-pdf-pdfredactionplan-officeimo-pdf-pdfredactionverificationoptions-threading-cancellationtoken) parameter `reviewedPlan`
- Method [PdfDocumentRedactions.VerifyAppliedPlan](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-verifyappliedplan-officeimo-pdf-pdfredactionplan-officeimo-pdf-pdfredactionverificationoptions-threading-cancellationtoken) parameter `reviewedPlan`

Filter members 

Show inherited

## 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 PdfDocumentPreflight Preflight { get; }` [#](#property-preflight)

[PdfRedactionPlan.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L41)

Preflight result used while creating the plan.

`public IReadOnlyList<PdfRedactionArea> Areas { get; }` [#](#property-areas)

[PdfRedactionPlan.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L44)

Requested redaction areas.

`public IReadOnlyList<PdfRedactionMatch> Matches { get; }` [#](#property-matches)

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

Text blocks, image placements, and annotations intersecting the requested areas.

`public IReadOnlyList<PdfDiagnosticFinding> Findings { get; }` [#](#property-findings)

[PdfRedactionPlan.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L50)

Diagnostics and warnings for the plan.

`public IReadOnlyList<string> SearchCriteria { get; }` [#](#property-searchcriteria)

[PdfRedactionPlan.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L53)

Kinds of criteria used to derive the areas. Searched values are kept private.

`public string SourceSha256 { get; }` [#](#property-sourcesha256)

[PdfRedactionPlan.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L59)

SHA-256 fingerprint of the exact PDF bytes inspected while creating this plan.

`public bool IsReviewable { get; }` [#](#property-isreviewable)

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

True when the source was inspectable and the plan contains no blocking findings.

`public bool IsSearchDriven { get; }` [#](#property-issearchdriven)

[PdfRedactionPlan.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L82)

True when the plan areas were derived from explicit search criteria.

`public bool HasMatches { get; }` [#](#property-hasmatches)

[PdfRedactionPlan.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRedactionPlan.cs#L85)

True when at least one match was found.

<!-- PowerForge markdown artifact sha256:606CA4499C77B412DBC911E0789E83A43A297743B563D2C09BDA108A5B917285 -->
