QuerySupportedCapabilities Method

Summary
Gets an array of TWAIN Capabilities supported in the current session.
Syntax
C#
C++
public TwainCapabilityType[] QuerySupportedCapabilities() 
vb[VB Syntax] 
Public Function QuerySupportedCapabilities() As TwainCapabilityType() 
public: 
array<TwainCapabilityType>^ QuerySupportedCapabilities();  
Example
C#
using Leadtools; 
using Leadtools.Twain; 
 
 
public void QuerySupportedCapabilitiesExample(IntPtr parent) 
{ 
   TwainSession session = new TwainSession(); 
 
   session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.InitializeMultithreaded); 
 
   TwainCapabilityType[] caps = session.QuerySupportedCapabilities(); 
 
   if (caps != null) 
   { 
      for (int i = 0; i < caps.Length; i++) 
         Console.WriteLine(caps[i].ToString()); 
   } 
 
   session.Shutdown(); 
} 
Requirements

Target Platforms

Help Version 22.0.2022.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.