SetBarcodeXOffset

 

 

#include “BlackIceDEVMODE.h”

 

BOOL SetBarcodeXOffset (BlackIceDEVMODE* pDevMode, DWORD dwOffset);

Description

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.

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure

DWORD dwOffset                                      - the horizontal position of the barcode.

 

Return value

TRUE on success, FALSE otherwise.