#include “BlackIceDEVMODE.h”
BOOL SetBarcodeAlign (BlackIceDEVMODE* pDevMode, DWORD dwAlign);
Description
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.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure
DWORD dwAlign - the horizontal alignment of the barcode.
Can be one of the values of the BarcodeAlign enumeration:
enum BarcodeAlign
{
BARCODE_LEFT = 0, // 0
BARCODE_CENTER, // 1
BARCODE_RIGHT // 2
};
Return value
TRUE on success, FALSE otherwise.