GetBarcodeAlign

 

 

#include “BlackIceDEVMODE.h”

 

int       GetBarcodeAlign (BlackIceDEVMODE* pDevMode);

Description

Returns 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

Return value

Returns 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

};