# PdfOcrMergeResult

Normalized OCR merge result with native overlap evidence and the parsed document.

Class 

`OfficeIMO.Pdf.Ocr`

**Namespace**

`OfficeIMO.Pdf.Ocr`

**Assembly**

`OfficeIMO.Pdf.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[PdfOcrMergeResult.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L29)

**Modifiers**

sealed

Normalized OCR merge result with native overlap evidence and the parsed document.

## Inheritance

- object
- PdfOcrMergeResult

## Usage

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

- Property [PdfFormOcrReview.Ocr](/api/pdf-ocr/officeimo-pdf-ocr-pdfformocrreview/#property-ocr)
- Method [PdfImageOcrExtensions.ReadWithOcrAsync](/api/pdf-ocr/officeimo-pdf-ocr-pdfimageocrextensions/#method-readwithocrasync-officeimo-pdf-pdfimagedocumentsource-officeimo-ocr-iocrengine-officeimo-pdf-ocr-pdfocrmergeoptions-threading-cancellationtoken)
- Method [PdfOcrExtensions.ReadWithOcrAsync](/api/pdf-ocr/officeimo-pdf-ocr-pdfocrextensions/#method-readwithocrasync-officeimo-pdf-pdfdocument-officeimo-ocr-iocrengine-officeimo-pdf-ocr-pdfocrmergeoptions-threading-cancellationtoken)
- Method [PdfOcrMergeResult.RequireAcceptedOcrContent](/api/pdf-ocr/officeimo-pdf-ocr-pdfocrmergeresult/#method-requireacceptedocrcontent)
- Property [PdfOcrRedactionSearchResult.Ocr](/api/pdf-ocr/officeimo-pdf-ocr-pdfocrredactionsearchresult/#property-ocr)
- Property [PdfSearchableOcrResult.Ocr](/api/pdf-ocr/officeimo-pdf-ocr-pdfsearchableocrresult/#property-ocr)
- Property [PdfSearchableOcrReview.Ocr](/api/pdf-ocr/officeimo-pdf-ocr-pdfsearchableocrreview/#property-ocr)

Filter members 

Show inherited

## Methods

`public PdfOcrMergeResult RequireAcceptedOcrContent()` [#](#method-requireacceptedocrcontent)

[PdfOcrMergeResult.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L29)

Requires accepted recognition content before exporting an editable or searchable artifact.

Returns

`PdfOcrMergeResult`

## 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 PdfDocumentReadResult NativeDocument { get; }` [#](#property-nativedocument)

[PdfOcrMergeResult.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L13)

Native parser logical model used for overlap decisions.

`public PdfDocumentReadResult Document { get; }` [#](#property-document)

[PdfOcrMergeResult.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L18)

Canonically parsed logical model containing accepted OCR evidence in addition to native content. Pass this model directly to the Word, Excel, PowerPoint, HTML, RTF, or OpenDocument reverse converters.

`public int AcceptedWordCount { get; }` [#](#property-acceptedwordcount)

[PdfOcrMergeResult.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L20)

Number of accepted OCR words across all requested pages.

`public bool HasAcceptedOcrContent { get; }` [#](#property-hasacceptedocrcontent)

[PdfOcrMergeResult.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L24)

True when at least one OCR word passed merge filtering and was supplied to the parsed document.

`public IReadOnlyList<PdfOcrPageMergeResult> Pages { get; }` [#](#property-pages)

[PdfOcrMergeResult.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L34)

OCR merge reports in requested page order.

`public string Text { get; }` [#](#property-text)

[PdfOcrMergeResult.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfOcrMergeResult.cs#L36)

Combined page text separated by blank lines.

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