ImageGear .NET v25.2 - Updated
ImageGear.Barcode Assembly / ImageGear.Barcode Namespace / ImGearBarcodeWriter Class / BarcodeType Property




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

    Property Value

    The ImGearBarcodeType value set.
    Remarks

    Required to create a barcode. When set, the ImGearBarcodeType property verifies the specified type is valid for writing. If not, the "Unsupported barcode type" exception is thrown.

    Below are the 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
    • DataMatrix
    • EAN 128
    • EAN-13
    • EAN 8
    • UPCA
    • UPCE
    • PatchCode
    • PDF417

    See Also