QuerySupportedCapabilities Method

Summary
Gets an array of TWAIN Capabilities supported in the current session.
Syntax
C#
C++/CLI
public TwainCapabilityType[] QuerySupportedCapabilities() 
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.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly

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