A member of the TwainCapabilities enumeration.





In This Topic

TwainResetCap Method (GdPictureImaging)

In This Topic
Sets the current TWAIN capability value to default value.
Syntax
'Declaration
 
Public Function TwainResetCap( _
   ByVal Cap As TwainCapabilities _
) As Boolean
public bool TwainResetCap( 
   TwainCapabilities Cap
)
public function TwainResetCap( 
    Cap: TwainCapabilities
): Boolean; 
public function TwainResetCap( 
   Cap : TwainCapabilities
) : boolean;
public: bool TwainResetCap( 
   TwainCapabilities Cap
) 
public:
bool TwainResetCap( 
   TwainCapabilities Cap
) 

Parameters

Cap
A member of the TwainCapabilities enumeration.

Return Value

True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
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