Barcode1DReaderBarcodeHasChecksum Method

See Also     Examples     Applies To

Returns if a barcode detected by the Barcode1DReaderDoScan function has a checksum.

Syntax

object.Barcode1DReaderBarcodeHasChecksum (BarCodeNo)

The Barcode1DReaderBarcodeHasChecksum syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
BarCodeNo Required. Long. Barcode index. Must be between 1 and Barcode1DReaderGetBarcodeCount returned value.

Returns

Boolean. True if the barcode has a checksum else False.

Category

1D Barcode Recognition

Visual Basic Sample

Detect and read barcode from bitmap


Object.CreateImageFromFile("c:\test.tif")
Object.Barcode1DReaderDoScan()
For i = 1 To Imaging1.Barcode1DReaderGetBarcodeCount
   MsgBox "Value: " + Object.Barcode1DReaderGetBarcodeValue(i)
   MsgBox "Type: " + str(Object.Barcode1DReaderGetBarcodeType(i))
   MsgBox "Angle: " + str(Object.Barcode1DReaderGetBarcodeSkewAngle(i))
Next i
Object.Barcode1DReaderClear()
Object.CloseNativeImage()






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.