OcrControl.GetLanguagesAsync() Method

 

Deprecated. The GetLanguagesAsync() Method returns the current list of supported languages from the Bing Optical Character Recognition (OCR) Service. Applications may gain performance benefits by caching this information instead of calling the method during every session.

Published date: March 4, 2014

Warning

The Bing OCR Control is deprecated as of March 12, 2014

Syntax

public IAsyncAction GetLanguagesAsync();
<Button onClick="MyOcrControl.GetLanguagesAsync();" .../>

Return Value

Type: System.Collections.Generic.IReadOnlyList<string>

The list of two-letter language codes that represent the languages supported by the OCR Service.

Remarks

For information and examples about caching the list of supported languages, see How to: Set the text language for Windows Runtime OCR.

Requirements

Minimum Supported Client

Windows 8.1

Required Extensions

Bing OCR

Namespace

Bing.Ocr