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





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / Barcode1DReaderGetBarcodeX2 Method

Barcode1DReaderGetBarcodeX2 Method (GdPictureImaging)

In This Topic
Returns the X position (in pixels) of the top-right 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 Barcode1DReaderGetBarcodeX2( _

   ByVal BarcodeNo As Integer _

) As Integer
public int Barcode1DReaderGetBarcodeX2( 

   int BarcodeNo

)
public function Barcode1DReaderGetBarcodeX2( 

    BarcodeNo: Integer

): Integer; 
public function Barcode1DReaderGetBarcodeX2( 

   BarcodeNo : int

) : int;
public: int Barcode1DReaderGetBarcodeX2( 

   int BarcodeNo

) 
public:

int Barcode1DReaderGetBarcodeX2( 

   int BarcodeNo

) 

Parameters

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

Return Value

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