SetReaderOptions Method
Sets barcode read options.
Syntax
int SetReaderOptions(const ReaderOptions& option);
Parameters
- option
- The barcode read options to be set for the reader.
Return Value
Zero if the function completed successfully.
Example
CBarcodeReader reader;
ReaderOptions ro = {0};
ro.llBarcodeFormat = (OneD | QR_CODE | PDF417 | DATAMATRIX); //Expected barcode types to read.
ro.iMaxBarcodesNumPerPage = 100; //Expected barcode numbers to read.
reader.SetReaderOptions(ro);
ReaderOptions ro2 = reader.GetReaderOptions();
See Also
C++ > Class > CBarcodeReader > GetReaderOptions
C++ > Class > CBarcodeReader > GetBarcodes