
- 103 -
GetChkDigit
Calculates the check digit for the barcode data based on the specified calculation algorithm.
■
Syntax
[VB]
Public
Shared
Function
GetChkDigit
(ByVal
bardata
As
String
, _
ByVal
type
As
Char
) As
Integer
[C#]
public static int
GetChkDigit
(
string
bardata, char type
)
■
Parameters
bardata
[in] Barcode data
type
[in] Check digit type
Code Type
Type
Calculation Method
EAN(JAN), UPC
'A'
MOD10
ITF 'I'
MOD10
STF 'H'
MOD10
CODABAR (NW-7)
'N'
MOD16
CODE-39 'M'
MOD43
MSI
'P'
MOD10
■
Return value
Calculated check digit
■
Exceptions
Name of Exception
Meaning
ArgumentException
The barcode data is invalid, or
the specified check digit type is invalid.
Содержание BHT-400-CE
Страница 1: ...Class Library Reference Manual Bar Code Handy Terminal BHT 400 CE ...
Страница 49: ... 43 17 9 LED UsageCollection This class is invalid at the BHT 400 ...
Страница 66: ... 60 17 26 Display This function is not supported ...
Страница 67: ... 61 17 27 Display Settings This function is not supported ...
Страница 78: ... 72 Events Event Name Description OnDone Occurs when decoding is complete Enumeration None ...
Страница 166: ... 160 18 9 LED UsageCollection This class is invalid on the BHT400 ...
Страница 289: ... 283 18 26 Display This function is not supported ...
Страница 290: ... 284 18 27 Display Settings This function is not supported ...
Страница 296: ... 290 C MySysMod FileName SysModification BHT400New zl MySysMod Mode SysModification EN_MODE POWEROFF MySysMod Execute ...