←Select platform

GetCapability Method

Summary
Gets the TwainCapability value.

Syntax
C#
C++/CLI
Python
public virtual Stream GetCapability( 
   string id, 
   TwainCapabilityType capability, 
   TwainGetCapabilityMode mode, 
   object userData 
) 
public: 
virtual Stream^ GetCapability(  
   String^ id, 
   TwainCapabilityType capability, 
   TwainGetCapabilityMode mode, 
   Object^ userData 
)  
def GetCapability(self,mode,userData): 

Parameters

id
The scanning session Id.

capability
The capability to get.

mode
The capability values to get.

userData
The user data.

Return Value

A TwainCapability that represents the specified capability value(s).

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.