ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Option property is used to configure how a Bar Code control is displayed.
Example
// Conserver les options du champ et ne pas afficher le texte
CBA_CodeBarre1.Option = BitwiseOR(CBA_CodeBarre1.Option, BC_NoText)
Syntax
<Bar Code control>.Option = <Control characteristics>
<Bar Code control>: Control name
Name of Bar Code control to use.
<Control characteristics>: Integer constant (or combination of constants)
Characteristics of the control:
BC_BottomBar code located at the bottom of destination rectangle
Android This constant is not available.
BC_ControlDigitsBar code containing control characters (valid for the BC_CODE128, BC_DATAMATRIX, BC_EAN128, BC_GS1-128 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.
For more details, see The different types of bar codes.
Android This constant is not available.
BC_CheckDigitsBarcode with check digit (valid only for barcodes of type CB_CODE128, CB_DATAMATRIX, CB_EAN128, CB_GS1-128 and CB_PDF417).
If this option is selected, the constants CB_CharacterControl and CB_GamesCharacters constants are automatically taken into account.
Android This constant is not available.
BC_CenterHBar code centered horizontally in the destination rectangle.
Android This constant is not available.
BC_CenterVBar code centered vertically in the destination rectangle.
Android This constant is not available.
BC_RightBar code aligned to right in the destination rectangle.
Android This constant is not available.
BC_ExtendedExtended barcode (valid only for barcodes of type CB_CODE39 and CB_CODE93).
Android This constant is not available.
BC_FormatTextFormats the text displayed for barcodes of type EAN 128 or GS1-128 BARCODES Brackets are added around AIs in the printed text.
Android This constant is not available.
BC_LeftBar code aligned to left in the destination rectangle.
Android This constant is not available.
BC_TopBar code located at the top of destination rectangle.
Android This constant is not available.
BC_IgnoreFormattingIgnores parentheses in code 128, EAN-128 or GS1-128 (valid only for barcodes of type CB_CODE128, CB_EAN128 and CB_GS1_128).
The brackets allow the users to easily read the bar code but they are not drawn in the code.
Android This constant is not available.
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.
For more details, see The different types of bar codes.
Android This constant is not available.
BC_NotProportionalAdjusts the bar code to the size of destination rectangle.
Android This constant is not available.
CB_SansTexteDoes not display the text under the barcode (valid only for barcodes of type CB_UPCA, CB_UPCB, CB_EAN13 and CB_EAN8).
Android This constant is not available.
BC_TextDisplays the text below the bar code.
The text is normalized for the BC_UPCA, BC_UPCE, BC_EAN13 and BC_EAN8 bar codes.
For the other types of bar codes, the text can exceed the display border of bar code.
Android This constant is not available.
BC_TextCenterCenters the text below the bar code.
This constant is available for BC_CODE128, BC_CODE93, BC_CODE11, BC_EAN128, BC_CODE39, BC_INTER2OF5, BC_CODABAR and BC_MSI bar codes..
Android This constant is not available.
BC_TextRightJustifies the text below the bar code to the right.
This constant is available for BC_CODE128, BC_CODE93, BC_CODE11, BC_EAN128, BC_CODE39, BC_INTER2OF5, BC_CODABAR and BC_MSI bar codes..
Android This constant is not available.
BC_TextLeftJustifies the text below the bar code to the left.
This constant is available for BC_CODE128, BC_CODE93, BC_CODE11, BC_EAN128, BC_CODE39, BC_INTER2OF5, BC_CODABAR and BC_MSI bar codes..
Android This constant is not available.
BC_CheckBar code with check characters (valid for the BC_CODE39, BC_CODE93, BC_INTER2OF5 and BC_CODABAR bar codes only).
Android This constant is not available.
CB_VerticalDisplays the bar code vertically.
Android This constant is not available.
BC_90Displays the bar code vertically.
BC_180Displays the bar code with a 180-degree rotation.
BC_270Displays the bar code with a 270-degree rotation.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help