Class
OcrEngineCatalog
OfficeIMO.Ocr
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
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 OcrEngineCatalog.Register
Constructors
public OcrEngineCatalog() #Methods
public IOcrEngine Create(string id, IReadOnlyDictionary<string, string>? options = null) #Creates a selected provider engine from caller-owned scalar options.
Parameters
- id string
- options System.Collections.Generic.IReadOnlyDictionary<string, string>? = null
Returns
IOcrEnginepublic IReadOnlyList<OcrEngineDescriptor> Discover() #Returns immutable descriptors ordered by stable identifier.
Returns
IReadOnlyList<OcrEngineDescriptor>public OcrEngineCatalog Register(IOcrEngineProvider provider) #Registers a provider. Identifiers are unique without regard to case.
Parameters
- provider OfficeIMO.Ocr.IOcrEngineProvider
Returns
OcrEngineCatalog