Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WindowsOCR.IsLanguageSupported
Whether a language is supported for OCR.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WindowsOCR | 13.1 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WindowsOCR.IsLanguageSupported"; LanguageTag ) More
Parameters
Parameter | Description | Example |
---|---|---|
LanguageTag | The language specification. Can be language tag, display name or localized name of the language. |
"de-DE" |
Result
Returns 0, 1 or error.
Description
Whether a language is supported for OCR.Returns 1 if a specified language can be resolved to any of the available OCR languages.
Examples
Try it:
If [ MBS( "WindowsOCR.IsLanguageSupported"; "de-DE" ) = 1 ]
Show Custom Dialog [ "We can recognize German text." ]
Else
Show Custom Dialog [ "We can't recognize German text." ]
End If
This function is free to use.
Created 22nd January 2023, last changed 7th May 2023