Barcode Xpress for .NET Framework v14.0 - Updated
Accusoft.BarcodeXpressSdk Namespace / Writer Class / BarcodeType Property




In This Topic
    BarcodeType Property (Writer)
    In This Topic
    Gets and sets the type of 1D barcode to create from the BarcodeType enumeration.
    Syntax
    'Declaration
     
    Public Shadows Property BarcodeType As BarcodeType
    'Usage
     
    Dim instance As Writer
    Dim value As BarcodeType
     
    instance.BarcodeType = value
     
    value = instance.BarcodeType
    public new BarcodeType BarcodeType {get; set;}
    public: __property new BarcodeType get_BarcodeType();
    public: __property new void set_BarcodeType( 
       BarcodeType value
    );
    public:
    new property BarcodeType BarcodeType {
       BarcodeType get();
       void set (    BarcodeType value);
    }

    Property Value

    The BarcodeType value set.
    Remarks

    Required to create a 1D barcode. When set, the BarcodeType property verifies the specified type is valid for writing. If not, the UnsupportBarcodeTypeException exception is thrown.

    The default value is Code 39

    Below are the 1D barcode types which can be written:

    • Industry 2 of 5
    • Interleaved 2 of 5
    • Codabar
    • Code 39
    • Code 39 Extended
    • Code 93
    • Code 93 Extended
    • Code 128
    • EAN 128
    • EAN-13 or JAN
    • EAN 8
    • UPCA
    • UPCE
    • PatchCode

    See Also