GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / Barcode1DReaderGetBarcodeX1 Method
Barcode index. Must be between 1 and Barcode1DReaderGetBarcodeCount returned value.





In This Topic
Barcode1DReaderGetBarcodeX1 Method (GdPictureImaging)
In This Topic
Returns the X position (in pixels) of the top-left corner of a barcode detected by the Barcode1DReaderDoScan method. If ROI has been set, this coordinate is relative to the used ROI.
Syntax
'Declaration
 
Public Function Barcode1DReaderGetBarcodeX1( _
   ByVal BarcodeNo As Integer _
) As Integer
public int Barcode1DReaderGetBarcodeX1( 
   int BarcodeNo
)
public function Barcode1DReaderGetBarcodeX1( 
    BarcodeNo: Integer
): Integer; 
public function Barcode1DReaderGetBarcodeX1( 
   BarcodeNo : int
) : int;
public: int Barcode1DReaderGetBarcodeX1( 
   int BarcodeNo
) 
public:
int Barcode1DReaderGetBarcodeX1( 
   int BarcodeNo
) 

Parameters

BarcodeNo
Barcode index. Must be between 1 and Barcode1DReaderGetBarcodeCount returned value.

Return Value

The barcode X position of the top-left corner; relative to the ROI, if any is defined.
Remarks
This method is used in the "Barcode Recognition" Demo.
See Also