Nevron .NET Vision
User Interface for .NET / User's Guide / Barcodes / Linear (1D) Barcodes
In This Topic
    Linear (1D) Barcodes
    In This Topic

    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 FontStyle 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";

    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 .NET Vision currently supports the following linear (1D) barcode symbologies:

    • Codabar
    • Code 11
    • Code 39
    • Code 39 Extended
    • Code 93
    • Code 128
    • Code 128A
    • Code 128B
    • Code 128C
    • EAN 8
    • EAN 13
    • FIM (Facing Identification Mark)
    • Interleaved 2 of 5
    • ISBN (International Standard Book Number)
    • ITF 14
    • JAN 13
    • MSI 2 Mod 10
    • MSI Mod 10
    • MSI Mod 11
    • MSI Mod 11 & Mod 10
    • Pharmacode
    • PostNet
    • Standard 2 of 5
    • Telepen
    • UPCA
    • UPCE
    • UPC Supplemental 2-Digit
    • UPC Supplemental 5-Digit
    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