PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.BarCode Namespace / BarCodeEnum Enumeration

In This Topic
    BarCodeEnum Enumeration
    In This Topic
    For the C1.C1Preview.RenderField class, determines what type of barcode will be used in the field. (see C1.C1Preview.RenderField.BarCodeType).
    Syntax
    'Declaration
     
    Public Enum BarCodeEnum 
       Inherits System.Enum
    public enum BarCodeEnum : System.Enum 
    Members
    MemberDescription
    CodabarNumeric only, slightly denser than Code39.
    Code128Alpha-numeric, denser than Code39 and required at least 6 characters.
    Code39Alpha-numeric, (Code 3 of 9).
    Code93Alpha-numeric.
    CodeI2of5Numeric only.
    Ean128The purpose of GS1-128 (formerly known as UCC-128 or EAN-128) is to establish a standard way of labeling a package with more information than just a product code. It provides supplemental information such as batch number and "use before" dates. There are two main components of UCC/EAN/GS1-128: the data with its Application Identifier and the bar code symbology used to code the data. The bar code symbology is code 128. The difference is the use of defined Application Identifiers with data encoded into the code 128 symbol.
    Ean13EAN-13 barcode. EAN-13 encodes 12-digit article codes (plus one check digit created by the control).
    Ean8EAN-8 barcode. EAN-8 encodes 7-digit article codes (plus one check digit created by the control).
    NoneNo barcode.
    PostNetNumeric only, US Postal Service.
    UpcAUPC-A barcode. UPC-A encodes 11-digit article codes (plus one check digit created by the control).
    UpcE

    UPC-E is a variation of UPC-A which allows for a more compact barcode by eliminating "extra" zeros. Since the resulting UPC-E barcode is about half the size as an UPC-A barcode, it is generally used on products with very small packaging.

    When using the UpcE encoding, set the Text property to an 11-digit string as if you were using the UpcA encoding.

    Note that not all UpcA codes can be encoded in UpcE. If the manufacturer code ends with "000", "100", or "200", the product number must be <= 900. If the manufacturer code ends with "00" but not with "100", "200", or "300", then the product number must be <= 90. If the manufacturer code ends with "0" but not with "00", then the product number must be <= 9. If the manufacturer code does not end with "0", then the product number must be between 5 and 9.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.C1Preview.BarCode.BarCodeEnum

    See Also