SetBarcodeXOffset

Sets the horizontal position of the barcode. The units are set using the SetBarcodeUnit function. The horizontal alignment can be set using the SetBarcodeAlign function. In case the barcode is aligned to the right, the value specifies the distance of the right side of the barcode from the right side of the page.

SetBarcodeXOffset (pDevMode As Long, dwOffset As Long) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Input value – dwOffset: the horizontal position of the barcode.

Return value - TRUE on success, FALSE otherwise.

 

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