SetBarcodeType

Sets 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.

SetBarcodeType (pDevMode As Long, dwType As Long) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Input value – dwType: the type of the barcode. Can be one of the following values:

            0: QR

            1: Data Matrix

            2: PDF 417

            3: 1D (Linear)

Return value - TRUE on success, FALSE otherwise.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.