TwainManager Class |
The TwainManager class is used to control which version of TWAIN is used by DotTwain.
TWAIN 2.x (twaindsm.dll) will be used by default if it exists on the system, otherwise TWAIN version 1.x (twain_32.dll) is used. Some drivers will not work with TWAIN 2.x, such as WIA drivers. To use these drivers you can force DotTwain to use version 1.x by setting the ForceTwain1xBehavior property to true before creating an instance of Acquisition or TwainController.
Namespace: Atalasoft.Twain
The TwainManager type exposes the following members.
Name | Description | |
---|---|---|
ForceTwain1xBehavior | Gets or sets a value used to indicate whether DotTwain should use TWAIN 1.x, even if TWAIN 2.x is on the
system. | |
TwainExists | Gets a value indicating whether TWAIN has been found on the system. | |
TwainLibraryLocation | Returns the full path to the TWAIN library being used by DotTwain. | |
TwainLibraryVersion | Gets the latest version of TWAIN on the system. |