GetBarcodeVertAlign

 

 

#include “BlackIceDEVMODE.h”

 

int       GetBarcodeVertAlign (BlackIceDEVMODE* pDevMode);

Description

Returns the vertical alignment of the barcode on the page. The barcode can be aligned to the top, bottom or middle of the page. The offset can be specified using the SetBarcodeYOffset function.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure

Return value

Returns the vertical alignment of the barcode. Can be one of the values of the BarcodeVertAlign enumeration:

 

enum BarcodeVertAlign

{

            BARCODE_TOP = 0,          // 0

            BARCODE_MIDDLE,         // 1

            BARCODE_BOTTOM         // 2

};