- capability
- Contains the values to set.
- mode
- Indicates whether to set or reset value(s).
Visual Basic (Declaration) | |
---|---|
Public Sub SetCapability( _ ByVal capability As TwainCapability, _ ByVal mode As TwainSetCapabilityMode _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As TwainSession Dim capability As TwainCapability Dim mode As TwainSetCapabilityMode instance.SetCapability(capability, mode) |
C# | |
---|---|
public void SetCapability( TwainCapability capability, TwainSetCapabilityMode mode ) |
C++/CLI | |
---|---|
public: void SetCapability( TwainCapability^ capability, TwainSetCapabilityMode mode ) |
Parameters
- capability
- Contains the values to set.
- mode
- Indicates whether to set or reset value(s).
Refer to TwainArrayCapability
For more information, refer to Freeing the TWAIN Session.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7