LBarCode::SetReadOptions

#include "ltwrappr.h"

L_INT LBarCode::SetReadOptions (pBarCodeReadOpt)

pBARCODEREADOPT pBarCodeReadOpt;

/* pointer to a BARCODEREADOPT structure */

Sets the barcode read options for the class object.

Parameter

Description

pBarCodeReadOpt

Pointer to the BARCODEREADOPT structure that contains the barcode read options to be set.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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.

Required DLLs and Libraries

LTBAR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LBarCode::LBarCode, LBarCode::GetReadOptions, LBarCode::Read, Class Members

Topics:

Programming with LEADTOOLS Barcode

Barcode Function Functions: Setting Barcode Information

Example

For complete sample code refer to BarCode demo.

For an example, refer to LBarCode::Read().