AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades varias
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The Option property is used to configure how a Bar Code control is displayed.
Ejemplo
// Store the control options and don't display the text
BAC_BarCode1.Option = BitwiseOR(BAC_BarCode1.Option, BC_NoText)
Sintaxis
<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
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.
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.
BC_CenterHBar code centered horizontally in the destination rectangle.
BC_CenterVBar code centered vertically in the destination rectangle.
BC_RightBar code aligned to right in the destination rectangle.
BC_ExtendedExtended barcode (valid only for barcodes of type CB_CODE39 and CB_CODE93).
BC_FormatTextFormats the text displayed for barcodes of type EAN 128 or GS1-128 BARCODES Brackets are added around AIs in the printed text.
BC_LeftBar code aligned to left in the destination rectangle.
BC_TopBar code located at the top of destination rectangle.
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.
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.
BC_NotProportionalAdjusts the bar code to the size of destination rectangle.
CB_SansTexteDoes not display the text under the barcode (valid only for barcodes of type CB_UPCA, CB_UPCB, CB_EAN13 and CB_EAN8).
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.
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..
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..
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..
BC_CheckBar code with check characters (valid for the BC_CODE39, BC_CODE93, BC_INTER2OF5 and BC_CODABAR bar codes only).
CB_VerticalDisplays the bar code vertically.
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.
Versión mínima requerida
  • Versión 11
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

Señalar un error o enviar una sugerencia | Ayuda local