Get1DBarcodeSubtype

 

 

#include “BlackIceDEVMODE.h”

 

int       Get1DBarcodeSubtype (BlackIceDEVMODE* pDevMode);

Description

Returns the 1D barcode standard used for barcode generation. The returned standard is only used if the linear (1D). barcode type is selected with the SetBarcodeType function.

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure

Return value

Returns the used 1d barcode standard.

Can be one of the values of the Barcode1DSubtype enumeration:

 

enum Barcode1DSubtype

{

            BARCODE_1D_CODABAR = 0,                          // 0

            BARCODE_1D_CODE11,                                     // 1

            BARCODE_1D_CODE128,                                  // 2

            BARCODE_1D_CODE39,                                     // 3

            BARCODE_1D_EAN8,                                          // 4

            BARCODE_1D_EAN13,                                        // 5

            BARCODE_1D_INDUSTRIAL2FROM5,            // 6

            BARCODE_1D_INTERLEAVED2FROM5,        // 7

            BARCODE_1D_MATRIX2FROM5,                     // 8

            BARCODE_1D_PLESSEY,                                  // 9

            BARCODE_1D_UPCA,                                         // 10

            BARCODE_1D_UPCE                                          // 11

};