MultimediaTools.ShowBarcodeScanning

Syntax:

ShowBarcodeScanning(<Title>, <Scanning handler>, <CloseHandler>, <BarCodeType>)

Parameters:

<Title> (optional)

Type: String.
Header text to be displayed in the barcode scanning window.

<Scanning handler> (required)

Type: NotifyDescription.
It specifies the handler that will be called upon a successful completion.
The handler procedure should have the following parameters:
  • BarCode is Scanned code. The value type is String;
  • The result is the returned parameter. It specifies whether the scanning is successful. The value type is Boolean;
  • The message is a returned parameter. This message will be displayed to inform the user about last scanning results. The value type is String:
    • If scanning fails the message is displayed in red.
    • If the message text is not defined, the behavior depends on whether canning is successful or fails.
      • Where scanning is successful, nothing is displayed.
      • Where scanning fails, “Barcode processing error!” is displayed.
  • Additional parameters.

<CloseHandler> (optional)

Type: NotifyDescription.
It specified the handler called upon closing the scanning window.
The handler procedure must have the following parameters:
  • Additional parameters.

<BarCodeType> (optional)

Type: BarcodeType Undefined.
It specifies which barcode types must be identified. If the value is Undefined, all barcodes will be identified.

Description:

It displays the scanning interface on the monitor.

Availability:

Mobile application (client).

Note:

Not supported in Windows mobile applications.

    

1C:Enterprise Developer's Community