Link Search Menu Expand Document

WIAImageScanner Class

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
SystemObject
Bytescout.BarCodeReaderWIAImageScanner

Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-master
Syntax
public class WIAImageScanner : IWIAImageScanner

The WIAImageScanner type exposes the following members.

Constructors
NameDescription
Public methodWIAImageScanner
Creates image scanner object.
Top
Properties
NameDescription
Public propertyDeviceType
Device types to work with. Default is UnspecifiedDeviceType so it works with almost all web camera and scanner devices.
Public propertyImageIntent
Acquired images intent (Color mode).
Public propertyImageQuality
Output image quality. Maximize quality by default.
Public propertyOutputFileNameTemplate
Template for output filename. Default is "scanned".
Public propertyOutputFiles
List of acquired image files.
Public propertyOutputFilesCOM
List of acquired image files in ActiveX/COM compatible array.
Public propertyOutputFolder
Output folder for acquired images. User's "My Pictures" folder is default.
Public propertyOutputImageFormat
Output image format. Default is PNG.
Public propertyShowDeviceSelectionDialog
Show device selection dialog or not (true by default).
Top
Methods
NameDescription
Public methodAcquire
Acquire images from WIA device. Output files are in OutputFiles list.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference