Barcode.CalculateCheckdigits
CalculateCheckdigits()
string TECIT.TBarCode.Barcode.CalculateCheckdigits()Calculates the checkdigits.
Returns
String with the checkdigits
CalculateCheckdigits(BarcodeType, CheckdigitMethod, byte[])
static string TECIT.TBarCode.Barcode.CalculateCheckdigits(BarcodeType barcodeType, CheckdigitMethod checkdigitMethod, byte[] data)Calculates the checkdigits.
The check digit for the given data is calculated. The parameter barcodeType will be BarcodeType.None most of the time. Some check digit methods have barcode-specific characteristics; in these cases a barcode type can be specified.
Parameters
| Parameter / type | Description |
|---|---|
barcodeType BarcodeType |
The barcode type; (can be BarcodeType.None). |
checkdigitMethod CheckdigitMethod |
The checkdigit method. |
data byte[] |
The data. |
Returns
String with the checkdigits.
CalculateCheckdigits(BarcodeType, CheckdigitMethod, string)
static string TECIT.TBarCode.Barcode.CalculateCheckdigits(BarcodeType barcodeType, CheckdigitMethod checkdigitMethod, string data)Calculates the checkdigits.
Parameters
| Parameter / type | Description |
|---|---|
barcodeType BarcodeType |
The barcode type; (can be BarcodeType.None). |
checkdigitMethod CheckdigitMethod |
The checkdigit method. |
data string |
The data. |
Returns
String with the checkdigits.
The check digit for the given data is calculated. The parameter barcodeType will be BarcodeType.None most of the time. Some check digit methods have barcode-specific characteristics; in these cases a barcode type can be specified.