Getting and Setting Capabilities

Each TWAIN source can support a number of capabilities, which dictate the behavior of the TWAIN source. Before acquiring images from the selected TWAIN source, it is possible to examine and change the capability settings for that source.

For instance, it is possible to check whether an installed scanner to the system supports certain capabilities. For more information, refer to How to Find Out Whether Your Scanner Supports Certain Capabilities Using Twacker, found on https://www.leadtools.com/support/forum/, search "How to Find Out Whether Your Scanner Supports Certain Capabilities Using Twacker".

The LEADTOOLS TWAIN toolkit provides both low-level and high-level functionality for getting and setting capabilities. The low-level functions get and set capabilities individually. The high-level functions are used to get and set specific capabilities, either singularly, or in groups.

Low-Level Functions

High-Level Functions

To get the custom data of TWAIN data source, call the L_TwainGetCustomDSData function, which is also saves the custom data to a file. To update the custom data of TWAIN data source, call the L_TwainSetCustomDSData function, which is also loads the data from a file.

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

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