
- 121 -
LastCodeNum
Acquires the number of codes (rows) that were read last.
■ Syntax
[VB]
Public Property ReadOnly LastCodeNum As Integer
[C#]
public int LastCodeNum {get}
■ Property
Number of barcodes that were read last.
BHT-200Q
If the code that was read last is a multi-line code, the number of rows is returned.
If the code that was read last is a composite code, the number of codes constituting the
composite code (which is “2”) is returned.
If the code that was read last is other than the above, “1” is returned.
Default value
: 0
■ Exceptions
None
[Ex.] Acquire the code type and number of digits in all rows for the data last read.
[VB]
For i = 0 To MyScanner.LastCodeNum
len(i) = MyScanner.LastCodeInfo(i).Len
type(i) = MyScanner.LastCodeInfo(i).Type
Next
[C#]
for (i = 0; i < MyScanner.LastCodeNum; i++) {
len[i] = MyScanner.LastCodeInfo[i].Len
type[i] = MyScanner.LastCodeInfo[i].Type
}
Comentários a estes Manuais