Table of Contents

ControlAddIn CameraBarcodeScannerProviderAddIn

Namespace: System.Device

The control add-in for the camera barcode scanner provider.

Methods

RequestBarcodeAsync

This method is used to request the camera barcode scanner.

procedure RequestBarcodeAsync()

RequestBarcodeAsync

This method is used to request the camera barcode scanner.

procedure RequestBarcodeAsync(ShowFlipCameraButton: Boolean, ShowTorchButton: Boolean, ResultDisplayDuration: Integer)

Parameters

Name Type Description
ShowFlipCameraButton Boolean

Indicates whether the flip camera button should be shown.

ShowTorchButton Boolean

Indicates whether the torch button should be shown.

ResultDisplayDuration Integer

The duration in milliseconds for which the barcode result should be displayed.

RequestBarcodeAsync

This method is used to request the camera barcode scanner.

procedure RequestBarcodeAsync(BarcodeFormats: Text, ShowFlipCameraButton: Boolean, ShowTorchButton: Boolean, ResultDisplayDuration: Integer)

Parameters

Name Type Description
BarcodeFormats Text

A list of comma-separated barcode formats that the scanner should recognize. The available formats are: QR_CODE,DATA_MATRIX,UPC_A,UPC_E,EAN_8,EAN_13,CODE_39,CODE_93,CODE_128,CODABAR,ITF,RSS14,PDF_417,RSS_EXPANDED,MSI,AZTEC

ShowFlipCameraButton Boolean

Indicates whether the flip camera button should be shown.

ShowTorchButton Boolean

Indicates whether the torch button should be shown.

ResultDisplayDuration Integer

The duration in milliseconds for which the barcode result should be displayed.

See also