GetBarcodeVertAlign

Returns the vertical alignment of the barcode on the page. The barcode can be aligned to the top, bottom or middle of the page. The offset can be specified using the SetBarcodeYOffset function.

GetBarcodeVertAlign (pDevMode As Long) As Long

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

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

            0: Top

            1: Middle

            2: Bottom

 

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