Export (0) Print
Expand All

OcrControl.CaptureLanguage Property

Deprecated. This property specifies the language of the text on an image captured by The Bing Optical Character Recognition (OCR) Control as a two-letter language code. When the Bing OCR Service receives a captured image, it looks for text in this language. If the text language is not specified, the property will default to “en”.

To get the current list of supported languages, use the OcrControl.GetLanguagesAsync() Method.

Published date: March 4, 2014

Dn261720.Warning(en-us,MSDN.10).gifCaution:
The Bing OCR Control is deprecated as of March 12, 2014

public string CaptureLanguage { get; set }
<Ocr:OcrControl CaptureLanguage="ES" .../>

Type: System.String

The two-letter language code of the specified language.

It is a good idea to provide users with a way to set the CaptureLanguage property so they can use OCR on multiple language sources. For more information, see How to: Set the text language for the Bing OCR Control.

Minimum Supported Client

Windows 8.1

Required Extensions

Bing OCR

Namespace

Bing.Ocr

Show:
© 2014 Microsoft