ScanDirection 

Overview

ScanDirection is a mask that controls the directions in which the barcode reader will look for barcodes in an image, and is built from the following values:

For example, a value of 5 (1 + 4) means that the reader will look for barcode from left to right and right to left.

Note: This property replaces the Rotation property used in previous versions.   

Default value =    15

void STSetParameter(hBarcode, ST_ORIENTATION_MASK, uint16 *value) ;

void STGetParameter(hBarcode, ST_ORIENTATION_MASK, uint16 *value) ;

e.g

// Read only horizontal barcodes.
#include "barcode.h"
uint16 value = 5 ;
STSetParameter(hBarcode, ST_ORIENTATION_MASK, &value) ;