# OfficeDocumentOcrEnrichmentOptions

Options controlling how OCR text is merged into a document read result.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OfficeDocumentOcrEnrichment.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L50)

**Modifiers**

sealed

Options controlling how OCR text is merged into a document read result.

## Inheritance

- object
- OfficeDocumentOcrEnrichmentOptions

## 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 1

- Property [OfficeDocumentOcrExecutionOptions.EnrichmentOptions](/api/reader-ocr/officeimo-reader-officedocumentocrexecutionoptions/#property-enrichmentoptions)

### Accepted by parameters 1

- Method [OfficeDocumentOcrEnrichmentExtensions.ApplyOcrResults](/api/reader-ocr/officeimo-reader-officedocumentocrenrichmentextensions/#method-applyocrresults-officeimo-reader-officedocumentreadresult-collections-generic-ienumerable-officeimo-reader-officedocumentocrtextresult-officeimo-reader-officedocumentocrenrichmentoptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

[OfficeDocumentOcrEnrichment.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L50)

## 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 bool RemoveResolvedCandidates { get; set; }` [#](#property-removeresolvedcandidates)

[OfficeDocumentOcrEnrichment.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L50)

Removes candidates that received OCR text from the enriched result's pending candidate list.

`public bool RemoveResolvedOcrNeededDiagnostics { get; set; }` [#](#property-removeresolvedocrneededdiagnostics)

[OfficeDocumentOcrEnrichment.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L55)

Removes matching ocr-needed diagnostics for candidates that received OCR text.

`public bool AppendRecognizedTextToMarkdown { get; set; }` [#](#property-appendrecognizedtexttomarkdown)

[OfficeDocumentOcrEnrichment.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L60)

Appends recognized OCR text to the result-level Markdown payload.

`public string BlockKind { get; set; }` [#](#property-blockkind)

[OfficeDocumentOcrEnrichment.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L65)

Logical block kind assigned to OCR-enriched text blocks.

<!-- PowerForge markdown artifact sha256:339A359AAD3483372F0BBC8B35FC9519D092CB4BAA37596526F7E3208CCEAD84 -->
