←Select platform

SetCapabilityValue Method

Summary

Sets the value of the specified capability.

Syntax

C#
VB
C++
public virtual void SetCapabilityValue( 
   string id, 
   TwainCapabilityType type, 
   TwainItemType itemType, 
   string value, 
   object userData 
) 
  
Public Overridable Sub SetCapabilityValue( _ 
   ByVal id As String, _ 
   ByVal type As Leadtools.Twain.TwainCapabilityType, _ 
   ByVal itemType As Leadtools.Twain.TwainItemType, _ 
   ByVal value As String, _ 
   ByVal userData As Object _ 
)  
public: 
virtual void SetCapabilityValue(  
   String^ id, 
   Leadtools.Twain.TwainCapabilityType type, 
   Leadtools.Twain.TwainItemType itemType, 
   String^ value, 
   Object^ userData 
)  

Parameters

id
The scanning session Id.

type
The capability values to set.

itemType
The type of data contained in the TwainOneValueCapability object.

value
The capability value.

userData
The user data.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly