|
|
|
|
|
- Bar Code control overview
- Control found in a window, page or report
- Creating a Bar Code control
- Note: QR Code size
- Bar Code control features
- Parts of a Bar Code control
Bar Code control overview Control found in a window, page or report The Bar Code control displays bar codes in your windows, pages or reports. The value of a Bar Code control corresponds to an alphanumeric string. Attention To read the value of a strikethrough code directly on the screen using a specialized device, you need suitable equipment.
Creating a Bar Code control To create a Bar Code control: - On the "Creation" tab:
- in the window or page editor: in the "Graphic fields" group, click on "Bar Code".
- in the report editor: in the "Data" group, click on "Barcode".
- Click where you want to create the control in the window, page or report. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu. You can choose the type of bar code in the "General" tab. This type cannot be changed programmatically. Tip It's also possible to create a "pre-formatted" Bar Code control by selecting the "StrikeOut" option. A preview of the available bar codes appears. This preview uses the project skin template. Simply click the control you want to create in the editor. Note: QR Code size A QR code is a dot matrix whose size varies according to the data contained and the correction rate. The QR code standard requires all dots to be the same size. To remain readable, the size of the QR code is not always proportional to the size of the control. From one QR Code to another, a margin within the control may appear to make sure that the code complies with the standard and that it can be read. Bar Code control features Parts of a Bar Code control | | A Bar Code control includes:- the caption of the bar code.
- the image of the bar code.
- the value of the bar code (that corresponds to an alphanumeric string).
| | The window or page editor allows you to select: - the type of bar code to display (with its characteristics if necessary).
- Strikethrough barcode: The last character of the barcode corresponds to a check digit.
- Extended strikethrough: The strikethrough value can contain all 128 ASCII characters.
- Proportional size: The height of the barcode is proportional to its width (for UPC and EAN types).
- Visible barcode value: Displays or not the barcode value under the drawing.
To learn more about the different types of bar codes supported by WINDEV, WINDEV Mobile or WEBDEV, see The different types of bar codes.
- the orientation and position of the bar code ("Details" tab).
- the border of the bar code ("Style" tab of the window editor).
The report editor is used to specify: - the initial value of the bar code. For example, you can type the Internet address linked to a QR bar code.
- the type of bar code to display (with its specific features if necessary).
- With check digit: The last character of the barcode corresponds to a check digit.
- Extended code: The barcode value can contain all 128 characters of the ASCII code.
- Visible barcode value: Displays or not the value of the barcode under its drawing.
- Proportional size: The height of the barcode is proportional to its width (for UPC and EAN types).
- Ignore formatting characters: Ignores parentheses in code 128 or EAN-128.
- Value contains strikethrough characters: Barcode containing strikethrough characters (valid only for CODE 128, DATAMATRIX, EAN 128 and PDF 417 barcodes). By default, control characters are enclosed between "<" and ">". To avoid interpreting them as control characters, they must be doubled.
- Character sets: StrikeOut using one or more character sets for barcode compression.. This set of characters must be defined in the bar code value.
- Check digits: barcode containing check digits (valid only for CODE 128, DATAMATRIX, EAN 128 and PDF 417 barcodes).
To learn more about the different types of bar codes supported in WINDEV or WEBDEV, see The different types of bar codes.
- the orientation and position of the bar code.
- the border of the bar code ("Style" tab).
Related Examples:
|
Unit examples (WINDEV): The Bar Code control
[ + ] Using a Bar Code control
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|