Class that allows to manipulate TWAIN device.
Inheritance Hierarchy
TwainScanning.CapabilityCapSetBase
TwainScanning.Capability.CapabilitySetsDevice
Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
The Device type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCapabilities | (Inherited from CapSetBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeCapT | (Inherited from CapSetBase.) | |
MakeCapArrT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyArrayT | (Inherited from CapSetBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ExposureTime |
Specifies the exposure time used to capture the image, in seconds.
ICAP_EXPOSURETIME
| |
FlashUsed2 |
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
| |
ImageFilter |
For devices that support image enhancement filtering. This capability selects the algorithm used
to improve the quality of the image.
ICAP_IMAGEFILTER
| |
LampState |
TRUE means the lamp is currently, or should be set to ON.Sources may not support MSG_SET
operations.
ICAP_LAMPSTATE
| |
LightPath |
Describes whether the image was captured transmissively or reflectively.
ICAP_LIGHTPATH
| |
LightSource |
Describes the general color characteristic of the light source used to acquire the image.
ICAP_LIGHTSOURCE
| |
MinimumHeight |
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
| |
MinimumWidth |
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
| |
NoiseFilter |
For devices that support noise filtering, selects the algorithm to be used.
ICAP_NOISEFILTER
| |
Online |
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
| |
OverScan |
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
| |
PhysicalHeight |
The maximum physical height (Y-axis) the Source can acquire (measured in units of
Unit).
ICAP_PHYSICALHEIGHT
| |
PhysicalWidth |
The maximum physical width (X-axis) the Source can acquire (measured in units of
Unit).
ICAP_PHYSICALWIDTH.
| |
SerialNumber |
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
| |
TimeDate |
The date and time of the device’s clock.
Managed in the form “YYYY/MM/DD HH:mm:SS:sss”
CAP_DEVICETIMEDATE
| |
Unit |
Unless a quantity is dimensionless or uses a specified unit of measure, This setting determines
the unit of measure for all quantities.
ICAP_UNITS
| |
ZoomFactor |
Camera lens zooming.
ICAP_ZOOMFACTOR
|
See Also