This topic describes how to insert a barcode control of the Code 39
Extended symbology (code type) into a report. In addition, it gives a short
description of the Code 39 Extended code type. To learn more about
barcodes in XtraReports see the Barcodes Overview topic.
Short Description
It is possible, using the Code 39's "Full ASCII Mode" to encode all 128 ASCII
characters. This is accomplished by using the $, /, %, and + symbols as "shift"
characters. These characters combined with the single character that follows
indicate which Full ASCII character is to be used.
Barcode's Properties
The following properties should be set to specify a particular barcode of the
Code 39 Extended type:
BarCodeGeneratorBase.CalcCheckSum.
This property is used to specify whether to calculate a checksum for the barcode
or not. The default value is true.
Code39Generator.WideNarrowRatio.
This property is used to specify the density of a barcode's bars. The value
assigned should be between 2.2 and 3, inclusive.
Important Note
The Code 39 Extended barcode, as opposed to Code 39, automatically replaces
all necessary characters with special symbols, when required. This means that
you don't need to do this manually, otherwise, the result will be incorrect.
For example, if you want to insert a "TAB" character into a barcode's text,
simply use "\t", which will be replaced by "$I" for coding, and then into "TAB"
after scanning: