Leadtools TWAIN (Leadtools.Twain assembly)

SetCapability Method

Show in webframe





Contains the values to set.
Indicates whether to set or reset value(s).
Sets the value of the specified capability.
Syntax
public void SetCapability( 
   TwainCapability capability,
   TwainSetCapabilityMode mode
)
'Declaration
 
Public Sub SetCapability( _
   ByVal capability As TwainCapability, _
   ByVal mode As TwainSetCapabilityMode _
) 
'Usage
 
Dim instance As TwainSession
Dim capability As TwainCapability
Dim mode As TwainSetCapabilityMode
 
instance.SetCapability(capability, mode)

            

            
public:
void SetCapability( 
   TwainCapability^ capability,
   TwainSetCapabilityMode mode
) 

Parameters

capability
Contains the values to set.
mode
Indicates whether to set or reset value(s).
Remarks
For more information, refer to Freeing the TWAIN Session.
Example
Refer to TwainArrayCapability
Requirements

Target Platforms

See Also

Reference

TwainSession Class
TwainSession Members
QuerySupportedCapabilities Method
GetCapability Method
QueryCapability Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.