Nevron Open Vision Documentation
Linear (1D) Barcodes

Linear barcodes are "one dimensional" barcodes that are made of lines (bars) and spaces. For example, the following is an EAN13 barcode:

The text below the barcode is the barcode label and usually shows the text encoded by the barcode. Note that it can be different from the value set to the Text property, because some linear barcodes use a check digit at the end, which is used for error correction. You can control the font style of the barcode label through the Font property.

Code Example

The barcode shown above can be created with the following piece of code:

Create EAN13 Barcode
Copy Code
NLinearBarcode barcode = new NLinearBarcode();
barcode.Symbology = ENLinearBarcodeSymbology.EAN13;
barcode.Text = "012345678912";
Symbologies

The algorithm that is used to generate the lines and spaces that make up the barcode from the text the barcode represents is called symbology. Nevron Open Vision currently supports the following linear (1D) barcode symbologies:

Some barcode symbologies allow only a specific type and number of characters (for example an EAN13 barcode consists of exactly 13 digits). If you set invalid text data to encode for a given barcode symbology, a red text with an error message will be rendered instead of the barcode.
See Also
Send Feedback