SetBarcodeVertAlign

 

 

#include “BlackIceDEVMODE.h”

 

BOOL SetBarcodeVertAlign (BlackIceDEVMODE* pDevMode, DWORD dwAlign);

Description

Sets 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

DWORD dwAlign                                        - 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

};

Return value

TRUE on success, FALSE otherwise.