GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableBarCodeTypeNo Method
Index of the available bar code type. Must be a value between 1 and TwainGetAvailableBarCodeTypeCount() returned value.





In This Topic
TwainGetAvailableBarCodeTypeNo Method (GdPictureImaging)
In This Topic
Returns a supported bar code type which can be detected by the opened source.
Syntax
'Declaration
 
Public Function TwainGetAvailableBarCodeTypeNo( _
   ByVal Number As Integer _
) As TwainBarCodeType
public TwainBarCodeType TwainGetAvailableBarCodeTypeNo( 
   int Number
)
public function TwainGetAvailableBarCodeTypeNo( 
    Number: Integer
): TwainBarCodeType; 
public function TwainGetAvailableBarCodeTypeNo( 
   Number : int
) : TwainBarCodeType;
public: TwainBarCodeType TwainGetAvailableBarCodeTypeNo( 
   int Number
) 
public:
TwainBarCodeType TwainGetAvailableBarCodeTypeNo( 
   int Number
) 

Parameters

Number
Index of the available bar code type. Must be a value between 1 and TwainGetAvailableBarCodeTypeCount() returned value.

Return Value

A member of the TwainBarCodeType enumeration.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also