API Reference

Class

OcrEngineExecution

Namespace OfficeIMO.Ocr
Assembly OfficeIMO.Ocr
Modifiers sealed

A validated, immutable identity and capability snapshot for one configured OCR engine instance.

Inheritance

  • Object
  • OcrEngineExecution

Remarks

Create one execution for a logical document operation and reuse it for every candidate. This prevents mutable provider properties from changing provenance or concurrency behavior partway through the operation.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Methods

public Task<OcrResult> RecognizeAsync(OcrRequest request, TimeSpan timeout, CancellationToken cancellationToken = null) #
Returns: Task<OcrResult>

Recognizes one raster payload under the shared timeout and concurrency policy.

Parameters

request OfficeIMO.Ocr.OcrRequest requiredposition: 0
timeout System.TimeSpan requiredposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2

Properties

public String Id { get; } #

Validated provider identifier captured when this execution was created.

public OcrEngineCapabilities Capabilities { get; } #

Independent copy of the capabilities captured when this execution was created.