Barcode1DReaderGetBarcodeX4 Method

See Also     Examples     Applies To

Returns the X position (in pixel) of the bottom-right corner of a barcode detected by the Barcode1DReaderDoScan function.

Syntax

object.Barcode1DReaderGetBarcodeX4 (BarCodeNo)

The Barcode1DReaderGetBarcodeX4 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

Long. The barcode X position of the bottom-right corner.

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.