SetBarcodeAlign

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

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

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

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

            0: Left

            1: Center

            2: Right

Return value - TRUE on success, FALSE otherwise.

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