Another technique for loading an ImGearPage Class object involves obtaining the image from a device, like a scanner or a camera. ImageGear supports the acquisition of images from TWAIN-compliant devices.
ImageGear supports TWAIN 2.4 and all previous versions, working with a wide variety of scanner devices, digital cameras, and video capture boards. No TWAIN toolkit is easier or more comprehensive.
ImageGear includes a wide array of methods, providing the developer with detailed control of the scanning process, including control of the following:
- TWAIN version
- TWAIN transfer mode
- Available TWAIN device listing
- Scanning area
- Brightness and contrast
- Dots-per-inch (resolution)
- Display of the TWAIN UI
- Setting an event to gain control during scanning
- ADF (Automatic Document Feeder) for multi-page scanning
- Scanner capabilities
For a complete description of how to use ImageGear TWAIN namespace, see the ImageGear.TWAIN Namespace API Reference.
The ImageGear.TWAIN Namespace is available in both 32-bit and 64-bit ImageGear .NET.
- Setting the version of TWAIN to 1 supports only 32-bit.
- To switch between versions change the value of the DSMVersion enum to 0, 1, or 2, with 0 being the latest version available, 1 being version 1.x, and 2 being version 2.x.
This section provides information about the following: