GetBarcodeOrientation

Returns the orientation of the barcode, relative to the page content.

GetBarcodeOrientation (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: Do not rotate

            1: Rotate 90 degrees clockwise

            2: Rotate 180 degrees clockwise

            3: Rotate 270 degrees clockwise

 

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