GetBarcodeAlign

Returns the horizontal alignment of the barcode on the page. The barcode can be aligned to the left, right or center of the page. The offset can be specified using the SetBarcodeXOffset function.

GetBarcodeAlign (pDevMode As Long) As Long

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Return Value - Returns the horizontal alignment of the barcode. Can be one of the following values:

            0: Left

            1: Center

            2: Right

 

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