|
|
|
|
Option (Property) In french: Option
The Option property is used to configure how a Bar Code control is displayed.
// 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_Bottom | Bar code located at the bottom of destination rectangle | BC_ControlDigits | Bar 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.
| BC_CheckDigits | Bar 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. | BC_CenterH | Bar code centered horizontally in the destination rectangle. | BC_CenterV | Bar code centered vertically in the destination rectangle. | BC_Right | Bar code aligned to right in the destination rectangle. | BC_Extended | Extended bar code (valid for the BC_CODE39 and BC_CODE93 bar codes only). | BC_FormatText | Formats the text displayed for the EAN 128 or GS1-128 bar codes: brackets are added around AIs in the printed text. | BC_Left | Bar code aligned to left in the destination rectangle. | BC_Top | Bar code located at the top of destination rectangle. | BC_IgnoreFormatting | Ignores 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. | BC_Charsets | Bar 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. | BC_NotProportional | Adjusts the bar code to the size of destination rectangle. | BC_NoText | Displays no text below the bar code (valid for the BC_UPCA, BC_UPCB, BC_EAN13 and BC_EAN8 bar codes only). | BC_Text | Displays 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. | New in version 28BC_TextCenter | Centers 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.. New in version 28 | New in version 28BC_TextRight | Justifies 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.. New in version 28 | New in version 28BC_TextLeft | Justifies 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.. New in version 28 | BC_Check | Bar code with check characters (valid for the BC_CODE39, BC_CODE93, BC_INTER2OF5 and BC_CODABAR bar codes only). | BC_Vertical | Displays the bar code vertically. | BC_90 | Displays the bar code vertically. | BC_180 | Displays the bar code with a 180-degree rotation. | BC_270 | Displays the bar code with a 270-degree rotation. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|