OcrControl.InstructionOverlay Property


Deprecated. The InstructionOverlay property specifies a Xaml.UIElement object to display additional instructions to the end user. This element is usually a TextBlock but may be of any type that inherits from UIElement.

Published date: March 4, 2014


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

public UIElement InstructionOverlay { get; set }
<Ocr:OcrControl.InstructionOverlay><TextBlock .../></Ocr:OcrControl.InstructionOverlay>

Type: Windows.UI.Xaml.UIElement

The element to display instructions on.

You should set the IsHitTestVisible attribute of the UIElement to false to prevent the instruction overlay from intercepting mouse clicks or taps intended for The Bing Optical Character Recognition (OCR) Control preview window.


The following example creates an OCR control with an instruction overlay.

<Ocr:OcrControl x:Name="OCR">
        <TextBlock Text="Click or tap to capture image." IsHitTestVisible="False" />


Minimum Supported Client

Windows 8.1

Required Extensions

Bing OCR