←Select platform

SetCapabilityValue Method

Summary
Sets the value of the specified capability.

Syntax
C#
C++/CLI
Python
public virtual void SetCapabilityValue( 
   string id, 
   TwainCapabilityType type, 
   TwainItemType itemType, 
   string value, 
   object userData 
) 
public: 
virtual void SetCapabilityValue(  
   String^ id, 
   TwainCapabilityType type, 
   TwainItemType itemType, 
   String^ value, 
   Object^ userData 
)  
def SetCapabilityValue(self,id,type,itemType,value,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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.