SetBarcodeOrientation

 

 

#include “BlackIceDEVMODE.h”

 

BOOL SetBarcodeOrientation (BlackIceDEVMODE* pDevMode, DWORD dwOrientation);

Description

Sets the orientation of the barcode, relative to the page content.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure

DWORD dwOrientation                              - can be one of the values of the BarcodeOrientation enumeration:

 

enum BarcodeOrientation

{

            BARCODE_ROTATE_0 = 0,          // 0

            BARCODE_ROTATE_90,              // 1

            BARCODE_ROTATE_180,            // 2

            BARCODE_ROTATE_270             // 3

};

Return value

TRUE on success, FALSE otherwise.