PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Starts decoding bar codes in a Camera control. You have the ability to specify the type of bar codes to decode.
Example
// Starts decoding QRCode bar codes in the Camera control
CameraStartDecoding(CAM_Camera1, BC_QRCODE)
Syntax
CameraStartDecoding(<Name of Camera Control> [, <Type of Bar Codes>])
<Name of Camera Control>: Character string (with or without quotes)
Name of Camera control to use.
<Type of Bar Codes>: Optional Integer constant
Type of bar codes that can be decoded:
BC_AZTECAztec bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_CODE128Code128 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_CODE39Code39 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_CODE93Code93 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_DATAMATRIXDATAMATRIX bar code.
iPhone/iPad Not available.
BC_EAN13EAN13 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_EAN8EAN8 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_INTER2OF5Interleaved 2 of 5 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_PDF417PDF417 bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_QRCODEQR Code bar code.
BC_UPCAUPC-A bar code.
iPhone/iPad Not available.
BC_UPCEUPC-E bar code.
iPhone/iPad This type of bar code is available from iOS 7.
BC_ALLAll the types of bar codes supported by this function can be decoded.

If this parameter is not specified:
  • the bar codes specified during the last call to CameraStartDecoding will be decoded.
  • the bar codes specified in the description window of Camera control will be decoded.
Remarks
  • The Camera control must have been configured to allow the decoding of bar codes (in the description window). Otherwise, the call to CameraStartDecoding will trigger a fatal error.
  • When the Camera control is configured to allow the decoding of bar codes (in the description window), the decoding automatically starts when opening the window. To prevent this behavior, you have the ability to call CameraStopDecoding in the initialization process of Camera control.
  • If CameraStartDecoding is called while a decoding is already in progress in the Camera control, the decoding is stopped then it is restarted to take into account the new type of bar code to decode. If the type of bar code is identical, the function has no effect.
  • When a bar code is detected, the "Decoding a bar code" process of Camera control is called with in parameter a BarCodes variable corresponding to the detected bar code. If this process returns True, the decoding of bar codes will be automatically stopped.
  • This function is equivalent to VideoStartDecoding.
Components
Android wd230android.jar
Minimum required version
  • Version 22
Comments
Click [Add] to post a comment