OcrEngineCapabilities
OfficeIMO.Ocr
Capabilities exposed by one configured OCR engine.
Inheritance
- object
- OcrEngineCapabilities
Usage
Explore 8 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 7
- Property AdaptiveOcrEngine.Capabilities
- Property DelegateOcrEngine.Capabilities
- Property IOcrEngine.Capabilities
- Property IOcrEngineProvider.Capabilities
- Method OcrEngineCapabilities.Clone
- Property OcrEngineDescriptor.Capabilities
- Property OcrEngineExecution.Capabilities
Accepted by parameters 1
- Constructor DelegateOcrEngine.DelegateOcrEngine
Constructors
public OcrEngineCapabilities() #Methods
public OcrEngineCapabilities Clone() #Creates an independent capability snapshot.
Returns
OcrEngineCapabilitiespublic bool SupportsMediaType(string? mediaType) #Gets whether the declared capabilities accept a media type, including subtype wildcards.
Parameters
- mediaType string?
Returns
boolInherited Methods
Properties
public IReadOnlyList<string> SupportedMediaTypes { get; set; } #Media types accepted by the engine. Empty means the engine does not pre-declare a restriction.
public IReadOnlyList<string> SupportedLanguages { get; set; } #Language identifiers known to the engine. Empty means language discovery is provider-specific.
public bool SupportsLineSpans { get; set; } #Whether line-level text spans can be returned.
public bool SupportsWordSpans { get; set; } #Whether word-level text spans can be returned.
public bool SupportsCharacterSpans { get; set; } #Whether character-level text spans can be returned.
public bool SupportsConfidence { get; set; } #Whether confidence values can be returned.
public bool SupportsConcurrentRequests { get; set; } #Whether the same engine instance accepts concurrent recognition requests.
public bool SupportsOrientationDetection { get; set; } #Whether the engine accepts explicit orientation-detection requests.