WIAImageScanner Class
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
This class can be used to call scanner or web-camera and acquire images from it using WIA interface in Windows. This class uses WIA 1 or WIA 2 (automatically checks which one is available) uses run-time late binding to call WIA 1 (Windows XP) or 2 (Windows Vista or higher) so no additional references are required.
Inheritance Hierarchy
Bytescout.BarCodeReaderWIAImageScanner
Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-master
Syntax
The WIAImageScanner type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WIAImageScanner | Creates image scanner object. |
Properties
| Name | Description | |
|---|---|---|
| DeviceType | Device types to work with. Default is UnspecifiedDeviceType so it works with almost all web camera and scanner devices. | |
| ImageIntent | Acquired images intent (Color mode). | |
| ImageQuality | Output image quality. Maximize quality by default. | |
| OutputFileNameTemplate | Template for output filename. Default is "scanned". | |
| OutputFiles | List of acquired image files. | |
| OutputFilesCOM | List of acquired image files in ActiveX/COM compatible array. | |
| OutputFolder | Output folder for acquired images. User's "My Pictures" folder is default. | |
| OutputImageFormat | Output image format. Default is PNG. | |
| ShowDeviceSelectionDialog | Show device selection dialog or not (true by default). |
Methods
| Name | Description | |
|---|---|---|
| Acquire | Acquire images from WIA device. Output files are in OutputFiles list. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also