The barcode number. Must be value between 1 and the number of detected barcodes.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainBarCodeGetRotation Method

TwainBarCodeGetRotation Method (GdPictureImaging)

In This Topic
Returns the orientation of a bar code found on the last acquired image.
Syntax
'Declaration
 
Public Function TwainBarCodeGetRotation( _
   ByVal BarCodeNo As Integer _
) As TwainBarCodeRotation
public TwainBarCodeRotation TwainBarCodeGetRotation( 
   int BarCodeNo
)
public function TwainBarCodeGetRotation( 
    BarCodeNo: Integer
): TwainBarCodeRotation; 
public function TwainBarCodeGetRotation( 
   BarCodeNo : int
) : TwainBarCodeRotation;
public: TwainBarCodeRotation TwainBarCodeGetRotation( 
   int BarCodeNo
) 
public:
TwainBarCodeRotation TwainBarCodeGetRotation( 
   int BarCodeNo
) 

Parameters

BarCodeNo
The barcode number. Must be value between 1 and the number of detected barcodes.

Return Value

A member of the TwainBarCodeRotation enumeration.
Remarks
Before using this method make sure that the barcode detection was enabled by the TwainSetBarcodeDetection() method. Use the TwainBarCodeGetCount() method to determine how many barcodes have been detected on the last acquired image.
See Also