ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Various properties
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 Option property is used to configure how a Bar Code control is displayed.
Example
// Store the control options and don't display the text
BAC_BarCode1.Option = BinaryOR(BAC_BarCode1.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_CheckDigitsBar code containing check characters (valid for the BC_CODE128, BC_DATAMATRIX, BC_EAN128, BC_GS1-128 and BC_PDF417 bar codes only).
If this option is selected, the BC_ControlDigits and BC_Charsets 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 bar code (valid for the BC_CODE39 and BC_CODE93 bar codes only).
Android This constant is not available.
BC_FormatTextFormats the text displayed for the EAN 128 or GS1-128 bar codes: 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 the brackets found in a 128, EAN-128 or GS1-128 bar code (valid for the BC_CODE128, BC_EAN128 and CB_GS1_128 bar codes only).
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 in order to compress the bar code. This set of characters must be defined in the value of bar code.
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.
BC_NoTextDisplays no text below the bar code (valid for the BC_UPCA, BC_UPCB, BC_EAN13 and BC_EAN8 bar codes only).
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.
BC_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: 08/24/2023

Send a report | Local help