OcrEngine.TryCreateFromLanguage(Language) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static OcrEngine ^ TryCreateFromLanguage(Language ^ language);
static OcrEngine TryCreateFromLanguage(Language const& language);
public static OcrEngine TryCreateFromLanguage(Language language);
function tryCreateFromLanguage(language)
Public Shared Function TryCreateFromLanguage (language As Language) As OcrEngine
Parameters
- language
- Language
The language being used for text recognition.
Returns
If the specified language can be resolved to any of the OCR languages available on the device, returns new instance of OcrEngine class, otherwise returns null. See language matching for a further explanation of language resolving.