API Reference

Class

OcrEngineCatalog

Namespace OfficeIMO.Ocr
Assembly OfficeIMO.Ocr
Modifiers sealed

Explicit registry for optional OCR providers. The core package performs no ambient scanning and carries no provider runtime dependency; hosts decide which provider instances or assemblies are trusted.

Inheritance

  • Object
  • OcrEngineCatalog

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

Constructors

public OcrEngineCatalog() #

Methods

public IOcrEngine Create(String id, IReadOnlyDictionary<String, String> options = null) #
Returns: IOcrEngine

Creates a selected provider engine from caller-owned scalar options.

Parameters

id System.String requiredposition: 0
options System.Collections.Generic.IReadOnlyDictionary{System.String,System.String} = null optionalposition: 1
public IReadOnlyList<OcrEngineDescriptor> Discover() #
Returns: IReadOnlyList<OcrEngineDescriptor>

Returns immutable descriptors ordered by stable identifier.

public OcrEngineCatalog Register(IOcrEngineProvider provider) #
Returns: OcrEngineCatalog

Registers a provider. Identifiers are unique without regard to case.

Parameters

provider OfficeIMO.Ocr.IOcrEngineProvider requiredposition: 0