Device ClassTerminal Works - TwainScanning.Net Library
Class that allows to manipulate TWAIN device.
Inheritance Hierarchy

SystemObject
  TwainScanning.CapabilityCapSetBase
    TwainScanning.Capability.CapabilitySetsDevice

Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax

public class Device : CapSetBase

The Device type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCapabilities (Inherited from CapSetBase.)
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 methodMakeCapT (Inherited from CapSetBase.)
Protected methodMakeCapArrT (Inherited from CapSetBase.)
Protected methodMakeCapReadOnlyT (Inherited from CapSetBase.)
Protected methodMakeCapReadOnlyArrayT
(Inherited from CapSetBase.)
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
Properties

  NameDescription
Public propertyExposureTime
Specifies the exposure time used to capture the image, in seconds. ICAP_EXPOSURETIME
Public propertyFlashUsed2
For devices that support flash. MSG_SET selects the flash to be used (if any). MSG_GET reports the current setting.This capability replaces ICAP_FLASHUSED, which is only able to negotiate the flash being on or off. ICAP_FLASHUSED2
Public propertyImageFilter
For devices that support image enhancement filtering. This capability selects the algorithm used to improve the quality of the image. ICAP_IMAGEFILTER
Public propertyLampState
TRUE means the lamp is currently, or should be set to ON.Sources may not support MSG_SET operations. ICAP_LAMPSTATE
Public propertyLightPath
Describes whether the image was captured transmissively or reflectively. ICAP_LIGHTPATH
Public propertyLightSource
Describes the general color characteristic of the light source used to acquire the image. ICAP_LIGHTSOURCE
Public propertyMinimumHeight
Allows the source to define the minimum height (Y-axis) that the source can acquire (measured in units of Unit). This is a read only capability. ICAP_MINIMUMHEIGHT
Public propertyMinimumWidth
Allows the source to define the minimum width (X-axis) that the source can acquire (measured in units of Unit). This is a read only capability. ICAP_MINIMUMWIDTH
Public propertyNoiseFilter
For devices that support noise filtering, selects the algorithm to be used. ICAP_NOISEFILTER
Public propertyOnline
If true, the physical hardware (e.g., scanner, digital camera, image database, etc.) that represents the image source is attached, powered on, and communicating. CAP_DEVICEONLINE
Public propertyOverScan
Overscan is used to scan outside of the boundaries described by ICAP_FRAMES, and is used to help acquire image data that may be lost because of skewing. ICAP_OVERSCAN
Public propertyPhysicalHeight
The maximum physical height (Y-axis) the Source can acquire (measured in units of Unit). ICAP_PHYSICALHEIGHT
Public propertyPhysicalWidth
The maximum physical width (X-axis) the Source can acquire (measured in units of Unit). ICAP_PHYSICALWIDTH.
Public propertySerialNumber
A string containing the serial number of the currently selected device in the Source. Multiple devices may all report the same serial number. CAP_SERIALNUMBER
Public propertyTimeDate
The date and time of the device’s clock. Managed in the form “YYYY/MM/DD HH:mm:SS:sss” CAP_DEVICETIMEDATE
Public propertyUnit
Unless a quantity is dimensionless or uses a specified unit of measure, This setting determines the unit of measure for all quantities. ICAP_UNITS
Public propertyZoomFactor
Camera lens zooming. ICAP_ZOOMFACTOR
Top
See Also

Reference