Sets the barcode read options for the class object.
#include "ltwrappr.h"
L_INT LBarCode::SetReadOptions (pBarCodeReadOpt)
Pointer to the BARCODEREADOPT structure that contains the barcode read options to be set.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The read options set using LBarCode::SetReadOptions are used by the LBarCode::Read function to determine the type of barcodes to read and the behavior of the search process. Therefore, LBarCode::SetReadOptions must be called before calling the LBarCode::Read function.
To get the current barcode read options, call the LBarCode::GetReadOptions function.
For complete sample code refer to BarCode demo.
For an example, refer to LBarCode::Read.