# PdfSearchableOcrResult

Searchable PDF artifact together with the OCR evidence used to create its invisible text layer.

Class 

`OfficeIMO.Pdf.Ocr`

**Namespace**

`OfficeIMO.Pdf.Ocr`

**Assembly**

`OfficeIMO.Pdf.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[PdfSearchableOcrResult.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfSearchableOcrResult.cs#L17)

**Modifiers**

sealed

Searchable PDF artifact together with the OCR evidence used to create its invisible text layer.

## Inheritance

- object
- PdfSearchableOcrResult

## Usage

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

- Method [PdfImageOcrExtensions.MakeSearchableAsync](/api/pdf-ocr/officeimo-pdf-ocr-pdfimageocrextensions/#method-makesearchableasync-officeimo-pdf-pdfimagedocumentsource-officeimo-ocr-iocrengine-officeimo-pdf-ocr-pdfocrmergeoptions-threading-cancellationtoken)
- Method [PdfOcrExtensions.MakeSearchableAsync](/api/pdf-ocr/officeimo-pdf-ocr-pdfocrextensions/#method-makesearchableasync-officeimo-pdf-pdfdocument-officeimo-ocr-iocrengine-officeimo-pdf-ocr-pdfocrmergeoptions-threading-cancellationtoken)
- Method [PdfSearchableOcrReview.Apply](/api/pdf-ocr/officeimo-pdf-ocr-pdfsearchableocrreview/#method-apply-collections-generic-ienumerable-officeimo-pdf-ocr-pdfrecognizedword-threading-cancellationtoken)
- Method [PdfSearchableOcrReview.ApplyAll](/api/pdf-ocr/officeimo-pdf-ocr-pdfsearchableocrreview/#method-applyall-threading-cancellationtoken)
- Method [PdfSearchableOcrReview.ApplyCorrections](/api/pdf-ocr/officeimo-pdf-ocr-pdfsearchableocrreview/#method-applycorrections-collections-generic-ireadonlydictionary-officeimo-pdf-ocr-pdfrecognizedword-system-string-threading-cancellationtoken)

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 PdfDocument Document { get; }` [#](#property-document)

[PdfSearchableOcrResult.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfSearchableOcrResult.cs#L17)

The original or rewritten PDF document containing accepted OCR text.

`public PdfOcrMergeResult Ocr { get; }` [#](#property-ocr)

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

Recognition, filtering, geometry, and provider evidence before any user exclusions.

`public IReadOnlyList<int> ModifiedPages { get; }` [#](#property-modifiedpages)

[PdfSearchableOcrResult.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfSearchableOcrResult.cs#L23)

One-based page numbers that received invisible searchable text.

`public bool WasModified { get; }` [#](#property-wasmodified)

[PdfSearchableOcrResult.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfSearchableOcrResult.cs#L26)

True when at least one page received invisible searchable text.

`public int AddedWordCount { get; }` [#](#property-addedwordcount)

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

Number of accepted OCR words written to the searchable text layer.

`public int CorrectedWordCount { get; }` [#](#property-correctedwordcount)

[PdfSearchableOcrResult.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Pdf.Ocr/PdfSearchableOcrResult.cs#L31)

Number of written words whose text was changed by review. Original provider evidence remains in [PdfSearchableOcrResult.Ocr](/api/pdf-ocr/officeimo-pdf-ocr-pdfsearchableocrresult/).

`public IReadOnlyDictionary<int, IReadOnlyList<PdfRecognizedWord>> WrittenWords { get; }` [#](#property-writtenwords)

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

Words actually written, grouped by one-based page number after review exclusions.

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