How to Work with the Container

When getting or setting capability information, it may be necessary to create a container for the capability. The structure of the container depends on the type of information in the container. LEADTOOLS supports the following types of TWAIN containers:

For more information on these container types, refer to the TWAIN specification.

The LEADTOOLS TWAIN toolkit provides a class for each container type and the TW_CAPABILITY structure.

The TwainCapabilityBase class represents the TW_CAPABILITY structure. This interface has two properties that are used in setting and getting the capabilities:

The TwainOneValueCapability class represents a container of type TW_ONEVALUE. This interface has the following properties:

The TwainEnumerationCapability class represents a container of type TW_ENUMERATION. This interface has the following properties:

The TwainRangeCapability class represents a container of type TW_RANGE. This interface has the following properties:

The TwainArrayCapability class represents a container of type TW_ARRAY. This interface has the following properties:

The TwainFrame class represents a structure of type TW_FRAME. It contains information about the area of the image to acquire. This interface has the following properties:

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

LEADTOOLS Imaging, Medical, and Document
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.