GdPicture.NET Reference Guide
TwainGetCapItemType Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainGetCapItemType Method
A member of the TwainCapabilities enumeration.
Returns the Item type used by a TWAIN capability.
Syntax
'Declaration
 
Public Function TwainGetCapItemType( _
   ByVal Cap As TwainCapabilities _
) As TwainItemTypes
public TwainItemTypes TwainGetCapItemType( 
   TwainCapabilities Cap
)
public function TwainGetCapItemType( 
    Cap: TwainCapabilities
): TwainItemTypes; 
public function TwainGetCapItemType( 
   Cap : TwainCapabilities
) : TwainItemTypes;
public: TwainItemTypes TwainGetCapItemType( 
   TwainCapabilities Cap
) 
public:
TwainItemTypes TwainGetCapItemType( 
   TwainCapabilities Cap
) 

Parameters

Cap
A member of the TwainCapabilities enumeration.

Return Value

A member of the Tags 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

Reference

GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainSetCapCurrentNumeric Method