GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableContrastNo Method
Index of the available contrast value. Must be a value between 1 and TwainGetAvailableContrastCount() returned value.





In This Topic
TwainGetAvailableContrastNo Method (GdPictureImaging)
In This Topic
Returns an available contrast value which can be used by the opened source in its current configuration.
Syntax
'Declaration
 
Public Function TwainGetAvailableContrastNo( _
   ByVal Number As Integer _
) As Double
public double TwainGetAvailableContrastNo( 
   int Number
)
public function TwainGetAvailableContrastNo( 
    Number: Integer
): Double; 
public function TwainGetAvailableContrastNo( 
   Number : int
) : double;
public: double TwainGetAvailableContrastNo( 
   int Number
) 
public:
double TwainGetAvailableContrastNo( 
   int Number
) 

Parameters

Number
Index of the available contrast value. Must be a value between 1 and TwainGetAvailableContrastCount() returned value.

Return Value

The selected contrast value.
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