TUPCEReader.DecodeMiddle Method
Definition
Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
Delphi
function DecodeMiddle(const row: IBitArray; const startRange: TArray<Integer>; const res: TStringBuilder): Integer
Parameters
- row
- IBitArray
row of black/white values to search
- startRange
- TArray<Integer>
start/end offset of start guard pattern
- res
- TStringBuilder
Returns
Integer
horizontal offset of first pixel after the "middle" that was decoded or -1 if decoding could not complete successfully