GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableBrightnessCount Method

In This Topic
TwainGetAvailableBrightnessCount Method (GdPictureImaging)
In This Topic
Returns the number of available brightness values which can be used by the opened source in its current configuration.
Public Function TwainGetAvailableBrightnessCount() As Integer
public int TwainGetAvailableBrightnessCount()
public function TwainGetAvailableBrightnessCount(): Integer; 
public function TwainGetAvailableBrightnessCount() : int;
public: int TwainGetAvailableBrightnessCount(); 
int TwainGetAvailableBrightnessCount(); 

Return Value

If Success, non zero: The number of available brightness values. Else 0 if fail. Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
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