SetBarcodeVertAlign

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

SetBarcodeVertAlign (pDevMode As Long, dwAlign As Long) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Input value - dwAlign: the vertical alignment of the barcode. Can be one of the following values:

            0: Top

            1: Middle

            2: Bottom

Return value - TRUE on success, FALSE otherwise.

 

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