BarCode for WPF | ComponentOne
In This Topic
    Supported BarCode Types
    In This Topic

    Supported Barcodes

    BarCode for WPF supports various types of encoding types, and descriptions as given in the table below:

    Encoding Description
    BC412 The BC412 barcode was invented by IBM to meet the needs of the semiconductor wafer identification application.
    Code11 Code11, also known as USD-8, is a high-density barcode symbology developed by Intermec in 1977. It is primarily used to label telecommunication equipments. This symbology is discrete and is able to encode numeric digits through 0-9, dash (-), and start/stop characters.
    Code 39 Code 39 is an alpha-numeric encoding also known as 3 of 9 and LOGMARS. This was the first alphanumeric symbology developed, and is one of the most widely used encodings.
    Code 39x Code 39 Extended uses double character encoding, allowing it to support all ASCII 128 characters.
    Codabar Codabar may encode 16 different characters (0 through 9 plus -$:/.+), plus an additional 4 start/stop characters (A through D). Codabar is used by some US blood banks, photo labs, and on FedEx airbills.
    Code 128A Code 128 is a very high density alpha-numeric barcode. Code 128A uses ASCII characters 00 to 95 (0-9, A-Z and control codes), special characters, and FNC 1-4
    Code 128B Code 128 is a very high density alpha-numeric barcode. Code 128B uses ASCII characters 32 to 127 (0-9, A-Z, a-z), special characters, and FNC 1-4
    Code 128C Code 128 is a very high density alpha-numeric barcode. Code 128C uses 00-99 (encodes each two digits with one code) and FNC1.
    Code 128 Auto Code 128 Auto will encode your data with the shortest number of bars possible.
    Code 2 of 5 Code 2 of 5 is a numeric only barcode.  It encodes all of the information in the bars, with spaces of a fixed width.
    Code 93 Code 93 is an alpha-numeric encoding that is slightly denser than code 39.
    Code25intlv Interleaved Code 2 of 5 encodes pairs of digits. The first digit is encoded in the first five bars with the second digit encoded in the five spaces.
    Code39 Code 39 is an alpha-numeric encoding also known as 3 of 9 and LOGMARS. This was the first alphanumeric symbology developed, and is one of the most widely used encodings.
    Code49 Code 49 is a stacked barcode that can encode the entire ASCII 128 character set.
    Code93x Code 93 Extended is based on Code 93 and can encode the entire ASCII 128 character set.
    DataMatrix Data Matrix is a high density, two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern.
    EAN 13 EAN-13 was implemented by the International Article Numbering Association (EAN) in Europe. EAN-13 encodes a 12-digit code that consists of a 2 digit system code followed by a 5 digit manufacturer code and a 5-digit product code. The 12-digit code is followed by a checksum digit (automatically added by the control).
    EAN 8 EAN-8 provides a short barcode for small packages. It encodes a 7-digit code that consists of a 2 or 3 digit system code followed by a 4 or 5 digit product code. The 7-digit code is followed by a checksum digit (automatically added by the control).
    EAN128FNC1

    EAN128FNC1 is a UCC/EAN-128 (EAN128) type barcode that allows you to insert a FNC1 character at any place and to adjust the bar size, etc. To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.

    This is not available in UCC/EAN-128.

    HIBCode39 HIBCCode39 is a Health Industry Bar Code 39 implementation.
    HIBCode128 HIBCCode128 is a Health Industry Bar Code 128 implementation.
    Iata25 Represents an IATA 2 of 5 barcode.
    IntelligentMail Intelligent Mail, formerly known as the 4-State Customer Barcode, is a 65-bar code used for domestic mail in the U.S.
    IntelligentMailPackage Intelligent Mail Package Barcode.
    ISBN The International Standard Book Number (ISBN) is special commercial book identifier which encodes 9 numeric digits apart from the start number "978", "979".
    ISMN The International Standard Music Number or ISMN (ISO 10957) is a thirteen-character alphanumeric identifier for printed music developed by ISO.
    ISSN The International Standard Serial Number (ISSN) is an eight-digit number used for printed or electronic periodical publications like magazines, etc. This ISSN system was drafted as an International Standard in 1971 and published as ISO 3297 in 1975.
    ITF14 ITF14 barcode is the GS1 implementation of an Interleaved 2 of 5 bar code to encode a Global Trade Item Number. It is continuous, self-checking, bidirectionally decodable and it will always encode 14 digits. ITF14 is used on packaging levels of a product in general.
    JapanesePostal This is the barcode used by the Japanese Postal system. Encodes alpha and numeric characters consisting of 18 digits including a 7-digit postal code number, optionally followed by block and house number information. The data to be encoded can include hyphens.
    Matrix 2of5 Matrix 2 of 5 is a higher density barcode consisting of 3 black bars and 2 white bars. Matrix 2 of 5 uses only numbers.
    MicroPDF417 MicroPDF417 is two-dimensional (2D), multi-row symbology, derived from PDF417. Micro-PDF417 is designed for applications that need to encode data in a two-dimensional (2D) symbol (up to 150 bytes, 250 alphanumeric characters, or 366 numeric digits) with the minimal symbol size.
    MicroQRCode MicroQRCode is a variant of QR Code 2005. Compared with other regular QR Codes, it has only one position detection pattern which reduces the barcode size so that it can be used to applications where the space for barcode image is severely restricted.
    MSI MSI Code uses only numbers.
    Pdf417 The Pdf417 barcode is a stacked, linear barcode that consists of 3 to 90 rows. Each of these rows is like a small linear bar code.
    Pharmacode Pharmacode, also known as Pharmaceutical Binary Code, is a barcode standard, 1D barcode that is used in the pharmaceutical manufacturing industry as a packing control system.
    Plessey MSI barcode, also known as Modified Plessey, is a numeric symbology developed by the MSI Data Corporation, which is used primarily for marking retail shelves for inventory control. Though continuous and self-checking, MSI Plessey provides several module checksum situations.
    PostNet PostNet is a numeric encoding used by the US postal service. It differs from most others in that it is based on the height of the bars rather than on their width.
    PZN PZN or Pharma-Zentral-Nummer is a barcode standard used in the German pharmaceutical industry for identification of medicines and health-care products.
    QRCode QR codes are machine-readable, matrix barcodes. They can encode a wide variety of information, including alphanumeric data, numeric information, byte data, and kanji characters. This symbology can encode up to 7,366 characters.
    RM4SCC RM4SCC is used to encode information used by the Royal Mail for its Cleanmail service.  It encodes alphanumeric information using up to 36 possible symbols: 26 letters and 10 numbers.
    RSS14

    RSS14 is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is a 14-digit EAN.UCC item identification for use with omnidirectional point-of-sale scanners.

    RSS14 Stacked RSS14Stacked is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is the same as RSS14Truncated, but stacked in two rows when RSS14Truncated is too wide.
    RSS14 Stacked Omnidirectional RSS14StackedOmnidirectional is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is the same as RSS14, but stacked in two rows when RSS14 is too wide.
    RSS14 Truncated RSS14Truncated is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is a 14-digit EAN.UCC item identification plus Indicator digits for use on small items, not for point-of-sale scanners.
    RSS Expanded RSSExpanded is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is a 14-digit EAN.UCC item identification plus AI element strings (expiration date, weight, etc.) for use with omnidirectional point-of-sale scanners.
    RSS Expanded Stacked RSSExpandedStacked is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is the same as RSSExpanded, but stacked in two rows when RSSExpanded is too wide.
    RSS Limited RSS Limited is a Reduced Space Symbology that encodes Composite Component (CC) extended EAN and UPC information in less space. This version is a 14-digit EAN.UCC item identification with indicator digits of 0 or 1 in a small symbol that is not scanned by point-of-sale scanners.
    SSCC 18 Serial Shipping Container Code-18 (SSCC-18) Barcode is a type of barcode that can print in the lower 2-inch (or local equivalent) extended area of the Thermal 4" x 8" or 4" x 8¼" (or local equivalent) label.
    Telepen Telepen is a name of a barcode symbology designed in the UK, in 1972, to directly represent the full ASCII character set without using shift characters for code switching, and use only two different widths for bars and spaces.
    UCC/EAN-128 UCC/EAN –128 uses the complete ASCII character Set. This is a special version of Code 128 used in HIBC applications.
    UPC A UPC-A is the common encoding you will find on virtually every consumer good on the shelves of your local supermarket, as well as books, magazines, and newspapers. It is similar to EAN-13, and encodes 11 digits of numeric data along with a trailing check digit.
    UPC E0 UPC-E0 uses only numbers.  Used for zero-compression UPC symbols. For the Caption property, you may enter either a six-digit UPC-E code or a complete 11-digit (includes code type, which must be 0 (zero)) UPC-A code. If an 11-digit code is entered, the Barcode control will convert it to a six-digit UPC-E code, if possible. If it is not possible to convert from the 11-digit code to the six-digit code, nothing is displayed.
    UPC E1 UPC-E1 uses only numbers. Used typically for shelf labeling in the retail environment. The length of the input string for U.P.C. E1 is six numeric characters.

    Set BarCode via Code

    The BarCode control can be set via code using the CodeType and Text properties of the C1Barcode class.

    <c1:C1BarCode Name="barCode"  CodeType="QRCode" Text="ComponenetOne@123"  HorizontalAlignment="Left" Height="65" Margin="350,87,0,0" VerticalAlignment="Top" Width="211"/>
    
    // set Barcode encoding type and value of the text
    barCode.CodeType = C1.BarCode.CodeType.QRCode;
    barCode.Text = "ComponenetOne@123";
    

    The output appears as given below: