Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

SetCapability Method






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
)
 function Leadtools.Twain.TwainSession.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainSession Class
TwainSession Members
QuerySupportedCapabilities Method
GetCapability Method
QueryCapability Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.