Device Properties |
The Device type exposes the following members.
Name | Description | |
---|---|---|
Alarms | Gets or sets a value which indicates if specific audible alarms are on or off. | |
AlarmVolume | Gets or sets the volume of alarms. | |
Author | Gets or sets the name or other identifying information about the Author of the image. | |
AutoBrightness | Gets or sets a value indicating if the AutoBrightness feature of the Source will be used. | |
AutoDiscardBlankPages | Gets or sets a value indicating whether the driver will automatically discard blank pages. | |
AutomaticBorderDetection | Gets or sets a value to indicate if the automatic border detection feature of the source should be used.
| |
AutomaticDeskew | Gets or sets a value indicating if the automatic deskew feature of the source should be used. | |
AutomaticRotate | Gets or sets a value indicating if the automatic rotate feature of the source should be used. | |
AutoScan | Gets or sets a value to indicate if the device should automatically acquire one image after another.
| |
AutoSize | 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.
| |
BarCode | Gets the TwainBarCode object used to control barcode features of the device. | |
BatteryMinutes | Gets the number of battery minutes remaining in the device. | |
BatteryPercentage | Gets the percentage of remaining battery power. | |
BitDepth | Gets or sets the bit depth for the acquisition. | |
BitDepthReduction | Gets or sets the BitDepthReductionMode the Source should use to reduce the bit depth of the
data. | |
Brightness | Gets or sets the amount of brightness the Source will add to the image. | |
CameraPreviewInterface | Gets a value indicating if the device supports a preview interface. | |
Caption | Gets or sets a general note about the acquired image. | |
CcittKFactor | Gets or sets the K factor indicating how often the new compression baseline should be re-established.
| |
ColorFilter | Gets or sets the color characteristic of the subtractive filter applied to the image data. | |
Compression | Gets or sets the compression used during a file or memory transfer. | |
Contrast | Gets or sets the amount of contrast the Source will add to the image. | |
Controller | Gets the TwainController used by the Device class. | |
CustomDataSupported | Gets a value indicating whether the device supported functionality used by the LoadParameters(Stream) and SaveParameters(Stream) methods. | |
DateTime | Gets or sets the date and time of the device's clock. | |
DeviceEvents | Gets or sets the device events you want to receive. | |
DisplayProgressIndicator | Gets or sets a value to indicate if the source will display a progress bar during an acquisition.
| |
DocumentFeeder | Gets the DocumentFeeder object for the device if supported. | |
Duplex | Gets the duplex mode supported by this device. | |
DuplexEnabled | Gets or sets a value indicating if the duplex feature is enabled. | |
EnableInterfaceOnly | 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. | |
EndorserNumber | Gets or sets the starting endorser / imprinter number. | |
ExposureTime | Gets or sets the exposure time used to capture the image in seconds. | |
FileFormat | Gets or sets the file format used when saving the acquired image directly to a file. | |
FileSystem | Gets the FileSystem for the device if supported. The FileSystem is used for navigating through the folders and files of some cameras and scanners. | |
Filter | Gets or sets the algorithm used to improve the quality of the image. | |
FlashUsed | Gets or sets the type of flash, if any, is used. | |
FlipRotation | Gets or sets a value which is used to properly orient images that flip orientation every other image.
| |
Frame | 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. | |
FrameSize | Gets or sets the static frame size for the acquire. | |
Gamma | Gets or sets the Source gamma correction value for the image data. | |
Halftone | Gets or sets the halftone used by the device during the acquisition. | |
HideInterface | Gets or sets a value indicating whether the device interface is shown when acquiring. | |
Highlight | Gets or sets which value in an image should be interpreted as the lightest highlight. | |
IccProfile | Gets or sets the ICAP_ICCPROFILE capability which determines if the device will link or
embed an ICC profile with the image. | |
Identity | Gets the device identity information. | |
ImageCount | Gets the number of available images. This is only valid for devices which contain an internal buffer. You can find out if there are any pending images during an acquisition by checking the PendingImages property of the AcquireEventArgs class. | |
ImageLayout | Gets or sets the layout used when acquiring image data. | |
InterfaceControllable | 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.
| |
JobControl | Gets or sets the type of batch acquisition job to perform. | |
JpegPixelType | Gets or sets the pixel type used when Jpeg data is acquired. | |
JpegQuality | Gets or sets the Jpeg quality used during a file or memory transfer. | |
LampState | Gets or sets a value indicating if the lamp is currently, or should be to ON. | |
Language | Gets or sets the language to use for the source device. | |
LastReturnCode | Gets the last TwainReturnCode from getting or setting a property. | |
LightPath | Gets or sets a value which describes whether the image was captured transmissively or reflectively.
| |
LightSource | Gets or sets a value that describes the general color characteristic of the light source used to acquire
the image. | |
MaxBatchBuffers | Gets or sets the number of pages that the scanner can buffer when AutoScan is
enabled. | |
MaxFrames | Gets or sets the maximum number of frames the device or application can accept. | |
MicrEnabled | Gets or sets the CAP_MICRENABLED capability which indicates if the scanner is enabled for
MICR check scanning. | |
MinimumHeight | Gets the minimum height the source can acquire in Units. | |
MinimumWidth | Gets the minimum width the source can acquire in Units. | |
ModalAcquire | Gets or sets a value indicating whether the Acquire() method is synchronous or
asynchronous. | |
NativeResolution | Gets the native optical resolution of the device. | |
NoiseFilter | Gets or sets the noise filter the source will use. | |
Online | Gets a value indicating if the device is powered up and ready to use. | |
Orientation | Gets or sets the orientation of the acquired image. | |
Overscan | Gets or sets a value indicating the type of overscan the source should perform. | |
PaperDetectable | Gets a value indicating if the device has a paper sensor. | |
PatchCode | Gets the TwainBarCode object used to control patchcode features of the device. | |
PhysicalHeight | Gets the maximum height in Units the source can acquire. | |
PhysicalWidth | Gets the maximum width in Units the source can acquire. | |
PixelFlavor | Gets or sets a value indicating whether the image data uses the value 0 for the darkest color or the
lightest color. | |
PixelType | Gets or sets the pixel format to acquire. You should set this property before setting BitDepth. | |
PowerSupply | Gets the type of power supply used for this camera. | |
ReacquireAllowed | 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. | |
Resolution | Gets or sets the number of pixels per unit as specified by the Units property. | |
Rotation | Gets or sets the amount to rotate the image by the Source. | |
Scaling | Gets or sets the amount of scaling the Source will perform on the image. | |
SerialNumber | Gets a string containing the serial number of this device. | |
Shadow | Gets or sets the value in an image which should be interpreted as the darkest shadow. | |
State | Gets a value indicating the current Twain state. | |
ThreadingEnabled | Gets or sets a value indicating whether to perform the scanning in a separate thread. See the remarks
below for threading limitations. | |
Threshold | Gets or sets the dividing line between black and white for 1-bit acquires. | |
ThumbnailEnabled | Gets or sets a value indicating if a thumbnail should be returned instead of the full size image.
| |
TransferCount | Gets or sets the number of images your application is willing to accept. | |
TransferMethod | Gets or sets the transfer method used when acquiring data. | |
Units | Gets or sets a value indicating the units of measure for this acquire. | |
ZoomFactor | Gets or sets the zoom factor to use for the acquire. Valid values for this property are source defined. |