Contains information about a single device and handles the acquisition of images from that device.
Thetype exposes the following members.
Gets or sets a value which indicates if specific audible alarms are on or off.
Gets or sets the volume of alarms.
Gets or sets the name or other identifying information about the Author of the image.
Gets or sets a value indicating if the AutoBrightness feature of the Source will be used.
Gets or sets a value indicating whether the driver will automatically discard blank pages.
Gets or sets a value to indicate if the automatic border detection feature of the source should be used.
Gets or sets a value indicating if the automatic deskew feature of the source should be used.
Gets or sets a value indicating if the automatic rotate feature of the source should be used.
Gets or sets a value to indicate if the device should automatically acquire one image after another.
Gets or sets the ICAP_AUTOSIZE capability which determines whether the driver is forced to output image dimensions to match the FrameSize or its closest supported frame size.
Gets the TwainBarCode object used to control barcode features of the device.
Gets the number of battery minutes remaining in the device.
Gets the percentage of remaining battery power.
Gets or sets the bit depth for the acquisition.
Gets or sets the BitDepthReductionMode the Source should use to reduce the bit depth of the data.
Gets or sets the amount of brightness the Source will add to the image.
Gets a value indicating if the device supports a preview interface.
Gets or sets a general note about the acquired image.
Gets or sets the K factor indicating how often the new compression baseline should be re-established.
Gets or sets the color characteristic of the subtractive filter applied to the image data.
Gets or sets the compression used during a file or memory transfer.
Gets or sets the amount of contrast the Source will add to the image.
Gets the TwainController used by the Device class.
Gets or sets the date and time of the device's clock.
Gets or sets the device events you want to receive.
Gets or sets a value to indicate if the source will display a progress bar during an acquisition.
Gets the DocumentFeeder object for the device if supported.
Gets the duplex mode supported by this device.
Gets or sets a value indicating if the duplex feature is enabled.
Gets a value indicating if the source will allow you to display the source interface without acquiring an image.
If the device does support this feature, you can use the ShowUserInterface method to display the device interface and allow the user to select their options without acquiring an image.
Gets or sets the starting endorser / imprinter number.
Gets or sets the exposure time used to capture the image in seconds.
Gets or sets the file format used when saving the acquired image directly to a file.
Gets the FileSystem for the device if supported.
The FileSystem is used for navigating through the folders and files of some cameras and scanners.
Gets or sets the algorithm used to improve the quality of the image.
Gets or sets the type of flash, if any, is used.
Gets or sets a value which is used to properly orient images that flip orientation every other image.
Gets or sets the rectangular area of the scanning bed to acquire.
If you know ahead of time the location and size of the object to scan, and the device supports this feature, you can decrease the amount of scanning time by setting this property.
Gets or sets the static frame size for the acquire.
Gets or sets the Source gamma correction value for the image data.
Gets or sets the halftone used by the device during the acquisition.
Gets or sets a value indicating whether the device interface is shown when acquiring.
Gets or sets which value in an image should be interpreted as the lightest highlight.
Gets or sets the ICAP_ICCPROFILE capability which determines if the device will link or embed an ICC profile with the image.
Gets the device identity information.
Gets or sets the layout used when acquiring image data.
Gets a value indicating if the interface can be hidden during an acquire. If supported, you can hide the interface by setting the hideInterface parameter of the Acquire method.
Gets or sets the type of batch acquisition job to perform.
Gets or sets the pixel type used when Jpeg data is acquired.
Gets or sets the Jpeg quality used during a file or memory transfer.
Gets or sets a value indicating if the lamp is currently, or should be to ON.
Gets or sets the language to use for the source device.
Gets the last TwainReturnCode from getting or setting a property.
Gets or sets a value which describes whether the image was captured transmissively or reflectively.
Gets or sets a value that describes the general color characteristic of the light source used to acquire the image.
Gets or sets the number of pages that the scanner can buffer when AutoScan is enabled.
Gets or sets the maximum number of frames the device or application can accept.
Gets or sets the CAP_MICRENABLED capability which indicates if the scanner is enabled for MICR check scanning.
Gets the minimum height the source can acquire in Units.
Gets the minimum width the source can acquire in Units.
Gets or sets a value indicating whether the Acquire method is synchronous or asynchronous.
Gets the native optical resolution of the device.
Gets or sets the noise filter the source will use.
Gets a value indicating if the device is powered up and ready to use.
Gets or sets the orientation of the acquired image.
Gets or sets a value indicating the type of overscan the source should perform.
Gets a value indicating if the device has a paper sensor.
Gets the TwainBarCode object used to control patchcode features of the device.
Gets the maximum height in Units the source can acquire.
Gets the maximum width in Units the source can acquire.
Gets or sets a value indicating whether the image data uses the value 0 for the darkest color or the lightest color.
Gets or sets the pixel format to acquire.
You should set this property before setting BitDepth.
Gets the type of power supply used for this camera.
Gets a value indicating whether the physical hardware is capable of acquiring multiple images of the same page without changes to the physical registration of that page.
Gets or sets the number of pixels per unit as specified by the Units property.
Gets or sets the amount to rotate the image by the Source.
Gets or sets the amount of scaling the Source will perform on the image.
Gets a string containing the serial number of this device.
Gets or sets the value in an image which should be interpreted as the darkest shadow.
Gets a value indicating the current Twain state.
Gets or sets a value indicating whether to perform the scanning in a separate thread. See the remarks below for threading limitations.
Gets or sets the dividing line between black and white for 1-bit acquires.
Gets or sets a value indicating if a thumbnail should be returned instead of the full size image.
Gets or sets the number of images your application is willing to accept.
Gets or sets the transfer method used when acquiring data.
Gets or sets a value indicating the units of measure for this acquire.
Gets or sets the zoom factor to use for the acquire.
Valid values for this property are source defined.
Acquires an image from this device.
This lets you choose how the device should handle its buffer clearing procedure.
Closes the connection with the device previously opened.
Calling this method when an image is being acquired will cancel the acquisition and any pending transfers. If you want to close the connection after all images have been transferred, you should do so in the AcquireFinished event.
This method will disable and hide the device interface. This only needs to be called if the Enable method is used to display the interface or invoke scanning.
This method can be used to display the device interface and invoke an acquisition instead of using Acquire.
Use this method to enable or disable cameras used when scanning.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Calls Close()(Overrides ObjectFinalize.)
Returns the condition code from the last Twain operation. This can provide more information about a failure when getting or setting aproperty.
Returns an array containing the current frames set for a device.
Serves as the default hash function.(Inherited from Object.)
Returns the operations supported for a specific capability.
Returns the barcodes supported by the device.
Returns the BitDepthReductionModes supported by the device.
Returns the supported bit depth values for the current PixelType.
Returns the brightness values supported by the device.
Returns a list of all the capabilities for which the Source will answer inquiries.
Returns the supported compression modes for this device.
Returns the contrast values supported by the device.
Returns an array of exposure times supported by the device.
Returns the extended capabilities supported by the device.
Returns the flash modes supported by the device.
Returns the frame sizes supported by the device.
Returns the halftone values supported by the device.
Returns the highlight values supported by the device.
Returns an array of TwainIccProfileOption values indicating what type of ICC profiles are supported by the device.
Returns the image filters supported by the device.
Returns a list of the file formats supported by this device.
Returns the job controls supported by the device.
Returns the Jpeg pixel types supported by the device.
Returns the Jpeg quality values supported by the device.
Returns the language types supported by the device.
Returns the light path modes supported by the device.
Returns the light source modes supported by the device.
Returns the supported maximum batch buffers for the device.
Returns the native resolution values for the device.
Returns the noise filter modes supported by the device.
Returns the orientation modes supported by the device.
Returns the overscan modes supported by the device.
Returns the patchcodes supported by the device.
Returns the pixel types supported by the device.
Returns the supported power supplies for the device.
Returns the printer modes supported by the device.
Finds the type of imprinter or endorser supported by this device. These can be used to set which imprinter or endorser to use in themethod.
Returns supported resolution values for the device.
Returns the rotations supported by the device.
Returns scaling values supported by the device.
Returns the shadow values supported by the device.
Returns the threshold values supported by the device.
Returns the transfer methods supported by the device.
Returns the unit values supported by the device.
Returns an array of valid zoom factors for this device.
Gets the Type of the current instance.(Inherited from Object.)
Loads previously saved device parameters into the device.
Load device parameter data saved with the SaveXmlParameters(Stream) method.
Opens a connection to this device.
You must open a connection to the device before getting or setting any device properties. If you don't need to get or set any properties, you can call the Acquire method without using the Open or Close methods.
TryOpen is the preferred way to open a connection to the device.
Filters out a message before it is dispatched.
Determines if a capability is available from the device.
It's unlikely that any one device supports all of the properties and features. You can use this method to find out if a property is get-able and/or set-able. This can also be used to help determine if the device is a camera by checking for camera specific properties, such as FlashUsed or BatteryPercentage.
Saves the current device parameters to a stream.
Saves device property values into XML format.
Sets the pixel order for each enabled camera.
Sets the extended capabilities your application needs to negotiate during states 5 and 6 of a Twain session.
Sets the extended image information options to obtain after acquiring the data.
Sets multiple frames to acquire from when scanning.
Sets the indices of the images you want to acquire.
This is useful when you want to acquire multiple images from a camera with a single call to the Acquire method.
Use this method to enable or disable an imprinter or endorser.
|SetImprinterEndorser(ImprinterEndorserType, ImprinterEndorserMode, String, Int32, String)|
Use this method to enable an imprinter or endorser and set its parameters.
Displays the device interface.
This operation is used by applications that wish to display the device user interface to allow the user to manipulate the devices current settings for resolution, paper size, etc. but not acquire an image.
Starts an automatic capture process.
This method does not acquire the images. Automatic capture implies that the device is capable of capturing images without the presence of the Application. This means that it must be possible for the Application to close the device and reopen it later, after the images have been captured.
A string which describes this object.(Overrides ObjectToString.)
This class controls how the image will be acquired and to learn more about the device and its capabilities. The Open method must be invoked before gaining access to the device properties and information. The Close method must be invoked when finished with the device.To find out which properties you can obtain from the device, invoke the QueryCapability(DeviceCapability, Boolean) method or get a list of property names from the GetSupportedCapabilities method.