OcrControl.StartPreviewAsync(String) Method
The StartPreviewAsync(String) Method starts the specified camera for The Bing Optical Character Recognition (OCR) Control in preview mode. For more information, see the OcrControl.StartPreviewAsync() Method documentation.
Published date: June 26, 2013
public IAsyncAction StartPreviewAsync(string preferredCameraId);
<Button onClick="MyOcrControl.StartPreviewAsync('MyCameraId');" .../>
Parameters
preferredCameraId
Type: System.String
The ID of the preferred camera.
To obtain a value for the preferredCameraId parameter, see the OcrControl.CameraDeviceId Property.
Show: