How can I change the symbology length?

Changing the length of the barcodes is done through SBSScanSettings.

An example to change the length to 19, 22, 30 for Code 128:

SBSSymbologySettings *symSettings = [scanSettings settingsForSymbology:SBSSymbologyCode128];
//Length set
NSSet *code128Lengths = [NSSet setWithObjects:[NSNumber numberWithUnsignedShort:30],[NSNumber numberWithUnsignedShort:19], [NSNumber numberWithUnsignedShort:22], nil];
symSettings.activeSymbolCounts = code128Lengths;

Available since SDK version 4.8.0.

For a detailed description see Scandit iOS documentation.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request