Managing the TWAIN Source

Once the user has established a handle to a TWAIN session, the TWAIN source to use for acquiring images should be selected. To determine the TWAIN sources available on the system, LEADTOOLS provides the LTwain::GetSources function. This function enumerates all available TWAIN sources and calls the LTwain::SourceInfoCallBack function for each TWAIN source found.

To select the TWAIN source to use for acquiring images, call the LTwain::SelectSource function.

Each TWAIN source has certain capabilities. The user may wish to alter these capability settings before acquiring images from the TWAIN source. For more information on this, refer to Getting and Setting Capabilities.

LEADTOOLS TWAIN toolkit also provides functions to manage the TWAIN sources installed on the system:

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++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.