A member of the TwainCapabilities enumeration.
Index of the available value. Must be a value between 1 and TwainGetAvailableCapValuesCount() returned value.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableCapValueNoString Method

TwainGetAvailableCapValueNoString Method (GdPictureImaging)

In This Topic
Returns an available string value for the selected TWAIN capability which can be used by the opened source in its current configuration. This method should be used to determine what are the supported value which can be used with the TwainSetCapCurrentString() method.
Syntax
'Declaration
 
Public Function TwainGetAvailableCapValueNoString( _
   ByVal Cap As TwainCapabilities, _
   ByVal Number As Integer _
) As String
public string TwainGetAvailableCapValueNoString( 
   TwainCapabilities Cap,
   int Number
)
public function TwainGetAvailableCapValueNoString( 
    Cap: TwainCapabilities;
    Number: Integer
): String; 
public function TwainGetAvailableCapValueNoString( 
   Cap : TwainCapabilities,
   Number : int
) : String;
public: string* TwainGetAvailableCapValueNoString( 
   TwainCapabilities Cap,
   int Number
) 
public:
String^ TwainGetAvailableCapValueNoString( 
   TwainCapabilities Cap,
   int Number
) 

Parameters

Cap
A member of the TwainCapabilities enumeration.
Number
Index of the available value. Must be a value between 1 and TwainGetAvailableCapValuesCount() returned value.

Return Value

The selected available value of the selected TWAIN capability.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method. This method can be used to set the following types of capabilities: TWTY_STR32, TWTY_STR64, TWTY_STR128, TWTY_STR255 . You can determine the type of each TWAIN capability using the TwainGetCapItemType method or looking the twain references from http://www.twain.org
See Also