ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Bar Code functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The following constants are used to manipulate 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 to compress the bar code. This set of characters must be defined in the bar code value.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 EAN 128 barcodes: brackets are added around the 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: Barcode decoded but type unknown. 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 image height: The maximum height is the minimum height required to display the barcode.BCToImage
bcDefaultWidthMaximum image width: The maximum width is the minimum width required to display the barcode.BCToImage
bcTypeContactNature of data stored in barcode: Contact description.BarCode variable
bcTypeEmailType of data stored in barcode: Email address.BarCode variable
bcTypeLocationType of data stored in the StrikeOut code: Geographical position.BarCode variable
bcTypeMarketType of data stored in the barcode: Link to an application on Google Play (Android only).BarCode variable
bcTypePhoneNature of data stored in strikethrough code: Telephone number.BarCode variable
bcTypeSMSType of data stored in the strikethrough: SMS number.BarCode variable
bcTypeTextNature of data stored in the barcode: Plain text.BarCode variable
bcTypeURLType of data stored in the barcode: URL.BarCode variable
bcTypeWiFiNature of data stored in barcode: Wi-Fi network connection settings (Android only).BarCode variable
CB_GS1_128GS1-128 bar code (new name for the EAN-128 bar code).iPrintBarCode
BCCapture
BarCode variable
BCCalculateControlCharacter
qrcodeLevelHQR Code error correction level: around 30% of encoded words can be restored.BarCode variable
qrcodeLevelLQR Code error correction level: around 7% of encoded words can be restored.BarCode variable
qrcodeLevelMQR Code error correction level: around 15% of encoded words can be restored.BarCode variable
qrcodeLevelQQR Code error correction level: around 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: 03/27/2025

Send a report | Local help