GetBarcodeUnit

Returns the units used by SetBarcodeXOffset and SetBarcodeYOffset for positioning the barcode. It does not change the units used for calculating the barcode sizes. The line and module sizes are always based on pixels to help recognition

GetBarcodeUnit (pDevMode As Long) As Long

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Return value - The return value can be one of the following values:

            0: the offsets are specified in pixels.

            1: the offsets are specified in tenths of millimeters.

            2: the offsets are specified in hundredths of inches.

 

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