GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainIsPixelTypeAvailable Method
A member of the TwainPixelType enumeration.





In This Topic
TwainIsPixelTypeAvailable Method (GdPictureImaging)
In This Topic
Ask to the opened source if the device supports a kind of pixel type.
Syntax
'Declaration
 
Public Function TwainIsPixelTypeAvailable( _
   ByVal PixelType As TwainPixelType _
) As Boolean
public bool TwainIsPixelTypeAvailable( 
   TwainPixelType PixelType
)
public function TwainIsPixelTypeAvailable( 
    PixelType: TwainPixelType
): Boolean; 
public function TwainIsPixelTypeAvailable( 
   PixelType : TwainPixelType
) : boolean;
public: bool TwainIsPixelTypeAvailable( 
   TwainPixelType PixelType
) 
public:
bool TwainIsPixelTypeAvailable( 
   TwainPixelType PixelType
) 

Parameters

PixelType
A member of the TwainPixelType enumeration.

Return Value

True if the (PixelType) pixel type is available else False.
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