Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction | Help Version 19.0.9.18
|
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:
TW_ARRAY
TW_ENUMERATION
TW_ONEVALUE
TW_RANGE
For more information on these container types, refer to the TWAIN 1.9 Specification, available at www.twain.org.
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: