GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailablePixelTypeNo Method
Index of the available pixel type value. Must be a value between 1 and TwainGetAvailablePixelTypeCount() returned value.





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

Parameters

Number
Index of the available pixel type value. Must be a value between 1 and TwainGetAvailablePixelTypeCount() returned value.

Return Value

TwainPixelType. The selected pixel type value. A member of the TwainPixelType 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