# PdfFormOcrReview

Immutable recognition proposals bound to exact source bytes, requiring explicitly reviewed values.

Class 

`OfficeIMO.Pdf.Ocr`

**Namespace**

`OfficeIMO.Pdf.Ocr`

**Assembly**

`OfficeIMO.Pdf.Ocr`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[PdfFormOcrReview.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L31)

**Modifiers**

sealed

Immutable recognition proposals bound to exact source bytes, requiring explicitly reviewed values.

## Inheritance

- object
- PdfFormOcrReview

## Remarks

Applying produces an in-memory document. Publication and host revision checks remain the caller's responsibility.

## Usage

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

- Method [PdfFormOcrExtensions.PrepareFormOcrAsync](/api/pdf-ocr/officeimo-pdf-ocr-pdfformocrextensions/#method-prepareformocrasync-officeimo-pdf-pdfdocument-officeimo-ocr-iocrengine-officeimo-pdf-ocr-pdfocrmergeoptions-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public PdfDocument Apply(PdfDocument currentDocument, IReadOnlyDictionary<PdfFormOcrProposal, PdfFormFieldValue> acceptedValues, CancellationToken cancellationToken = default)` [#](#method-apply-officeimo-pdf-pdfdocument-collections-generic-ireadonlydictionary-officeimo-pdf-ocr-pdfformocrproposal-officeimo-pdf-pdfformfieldvalue-threading-cancellationtoken)

[PdfFormOcrReview.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L63)

Creates one atomic form-fill result from explicitly accepted and optionally corrected proposals.

Parameters

**currentDocument OfficeIMO.Pdf.PdfDocument required**

**acceptedValues System.Collections.Generic.IReadOnlyDictionary<OfficeIMO.Pdf.Ocr.PdfFormOcrProposal, OfficeIMO.Pdf.PdfFormFieldValue> required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`PdfDocument`

`public PdfFormFieldValueAssessment Assess(PdfFormOcrProposal proposal, PdfFormFieldValue value)` [#](#method-assess-officeimo-pdf-ocr-pdfformocrproposal-officeimo-pdf-pdfformfieldvalue)

[PdfFormOcrReview.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L49)

Validates a reviewed correction using the canonical field metadata assessment.

Parameters

**proposal OfficeIMO.Pdf.Ocr.PdfFormOcrProposal required**

**value OfficeIMO.Pdf.PdfFormFieldValue required**

Returns

`PdfFormFieldValueAssessment`

`public ValueTuple<double, double> GetPageSize(int pageNumber)` [#](#method-getpagesize-int32)

[PdfFormOcrReview.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L31)

Returns the captured visual page dimensions used by widget and word evidence.

Parameters

**pageNumber int required**

Returns

`ValueTuple<double, double>`

`public PdfPageRenderResult RenderPage(int pageNumber, CancellationToken cancellationToken = default)` [#](#method-renderpage-int32-threading-cancellationtoken)

[PdfFormOcrReview.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L38)

Renders a captured source page for reviewing the value and its original geometry.

Parameters

**pageNumber int required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`PdfPageRenderResult`

## 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 string SourceFingerprint { get; }` [#](#property-sourcefingerprint)

[PdfFormOcrReview.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L23)

SHA-256 identity of the immutable source snapshot.

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

[PdfFormOcrReview.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L25)

Canonical OCR evidence, diagnostics and geometry.

`public IReadOnlyList<PdfFormOcrProposal> Proposals { get; }` [#](#property-proposals)

[PdfFormOcrReview.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Pdf.Ocr/PdfFormOcrReview.cs#L27)

Proposals for existing fields, with no initial acceptance.

<!-- PowerForge markdown artifact sha256:0F7CEF9912F3C34394B90656F13E02096D8B66B29D8ECFA6832B6ABD20C2B2F2 -->
