GetBarcodeType

 

 

#include “BlackIceDEVMODE.h”

 

int       GetBarcodeType (BlackIceDEVMODE* pDevMode);

Description

Returns the barcode type used for barcode generation. QR, Datamatrix, PDF417 and linear barcode types are supported. If linear (1D) barcode type is selected, the linear barcode standard can be specified using the Set1DBarcodeSubtype function.

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure

Return value

Returns the type of the barcode.

Can be one of the values of the BarcodeType enumeration:

 

enum BarcodeType

{

            BARCODE_QR = 0,                                    // 0

            BARCODE_DATAMATRIX,          // 1

            BARCODE_PDF417,                     // 2

            BARCODE_1D                                // 3

};