ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Bar Code functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The following constants are used to manage bar codes:
ConstantDescriptionUsed by the functions
BC_90Prints the bar code vertically.iPrintBarCode
BarCode variable
BC_180Prints the bar code while performing a rotation equal to 180 degrees.iPrintBarCode
BarCode variable
BC_270Prints the bar code while performing a rotation equal to 270 degrees.iPrintBarCode
BarCode variable
BC_ALLAll the types of supported bar codes can be decoded.BCCapture
BC_AZTECAztec bar code. iPrintBarCode
BarCode variable
CameraStartDecoding, VideoStartDecoding
BC_BottomBar code aligned at the bottom.iPrintBarCode
BarCode variable
Option property
BC_CenterHBar code centered horizontally.iPrintBarCode
BarCode variable
Option property
BC_CenterVBar code centered vertically.iPrintBarCode
BarCode variable
Option property
BC_CharsetsBar code that uses one or more sets of characters in order to compress the bar code. This set of characters must be defined in the value of bar code.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
Option property
BC_CheckBar code with check characters.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
Option property
BC_CheckDigitsBar code containing check characters (valid for the BC_CODE128, BC_DATAMATRIX, BC_EAN128 and BC_PDF417 bar codes only).
If this option is selected, the BC_ControlDigits and BC_Charsets constants are automatically taken into account.
iPrintBarCode
BarCode variable
BCCalculateControlCharacter
Option property
BC_CODABARCodabar bar code.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
BC_CODE11Code11 bar code.iPrintBarCode
BarCode variable
BC_CODE39Code39 bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_CODE93Code93 bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_CODE128Code128 bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_ControlDigitsBar code containing control characters (valid for the BC_CODE128, BC_DATAMATRIX, BC_EAN128 and BC_PDF417 bar codes only).
By default, control characters are enclosed between "<" and ">". To avoid interpreting these characters as control characters, simply double the first "<":
  • "<C40>" = control character
  • "<<AB>" = <AB> to be encoded in the bar code.
iPrintBarCode
BarCode variable
BCCalculateControlCharacter
Option property
BC_DATAMATRIXData Matrix bar code.iPrintBarCode
BCCapture
BarCode variable
CameraStartDecoding, VideoStartDecoding
BC_EAN8EAN8 bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_EAN13EAN13 bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_EAN128EAN128 bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
BC_ExtendedExtended bar code.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
Option property
BC_FormatTextFormats the text displayed for the EAN 128 bar codes: brackets are added around AIs in the printed text.iPrintBarCode
BarCode variable
Option property
BC_IgnoreFormattingIgnores the brackets in a 128 or EAN 128 bar code.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
Option property
BC_INTER2OF5Interleaved 2 of 5 bar code.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
BCCapture
CameraStartDecoding, VideoStartDecoding
BC_LeftBar code aligned to the left.iPrintBarCode
BarCode variable
Option property
BC_MAXICODEMaxiCode bar code.iPrintBarCode
BarCode variable
BC_MSIMSI bar code.iPrintBarCode
BarCode variable
BCCalculateControlCharacter
BC_NoCheck
BC_NoTextDisplays no text below the bar code.iPrintBarCode
BarCode variable
Option property
BC_NotProportionalAdjusts the bar code to the size of destination rectangle.iPrintBarCode
BarCode variable
Option property
BC_PDF417PDF417 bar code.iPrintBarCode
BarCode variable
CameraStartDecoding, VideoStartDecoding
BC_QRCODEQR Code bar code.BCCapture
BarCode variable
CameraStartDecoding, VideoStartDecoding
BC_RightBar code aligned to the right.iPrintBarCode
BarCode variable
Option property
BC_TextDisplay text below the bar code.iPrintBarCode
BarCode variable
Option property
BC_TextCenterCenters the text below the bar code.iPrintBarCode
BarCode variable
Option property
BC_TextLeftAligns the text below the bar code to the left.iPrintBarCode
BarCode variable
Option property
BC_TextRightAligns the text below the bar code to the right.iPrintBarCode
BarCode variable
Option property
BC_TopBar code aligned at the top.iPrintBarCode
BarCode variable
Option property
BC_UNKNOWNFor Android: Bar code decoded but unknown type. BarCode variable
BC_UPCAUPC-A bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_UPCEUPC-E bar code.iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
CameraStartDecoding, VideoStartDecoding
BC_VerticalPrints the bar code vertically.iPrintBarCode
BarCode variable
Option property
bcDefaultHeightMaximum height of the image: The maximum height will be the minimum height required to display the bar code.BCToImage
bcDefaultWidthMaximum width of the image: The maximum width will be the minimum width required to display the bar code.BCToImage
bcTypeContactNature of data stored in the bar code: Contact description.BarCode variable
bcTypeEmailNature of data stored in the bar code: Email address.BarCode variable
bcTypeLocationNature of data stored in the bar code: Geographic position.BarCode variable
bcTypeMarketNature of data stored in the bar code: Link to an application on Google Play (Android only).BarCode variable
bcTypePhoneNature of data stored in the bar code: Phone number.BarCode variable
bcTypeSMSNature of data stored in the bar code: SMS number.BarCode variable
bcTypeTextNature of data stored in the bar code: Plain text.BarCode variable
bcTypeURLNature of data stored in the bar code: URL.BarCode variable
bcTypeWiFiNature of data stored in the bar code: Parameters for connecting to a Wi-Fi network (Android only).BarCode variable
CB_GS1_128GS1-128 bar code (new name for the EAN-128 bar code).iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
qrcodeLevelHCorrection level of the error of QR Code: about 30% of encoded words can be restored.BarCode variable
qrcodeLevelLCorrection level of the error of QR Code: about 7% of encoded words can be restored.BarCode variable
qrcodeLevelMCorrection level of the error of QR Code: about 15% of encoded words can be restored.BarCode variable
qrcodeLevelQCorrection level of the error of QR Code: about 25% of encoded words can be restored.BarCode variable
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/02/2023

Send a report | Local help