DataSource PropertiesTerminal Works - TwainScanning.Net Library

The DataSource type exposes the following members.

Properties

  NameDescription
Public propertyHasFeeder
Is feeder supported on Twain Device.
Public propertyIdentity
Get identity of current scanner.
Public propertyLayout
Property layout.
Public propertyStopFeederAccepted
Result of the last StopFeeder request sent to the device.

null when no request was sent to the device during the current scanning (either it was not requested, or the scanning ended before the library could send it), true when the device accepted it and false when the device rejected it, which means the device does not support stopping the feeder this way.

Public propertySupportsStopFeeder
Indicates whether the device is expected to support StopFeeder.

The check is done without touching the device state: it reports whether the data source has a feeder and whether it implements TWAIN 1.9 or newer, which is the version that introduced MSG_STOPFEEDER. Data sources are allowed to reject the operation even so, therefore treat this as an advance check only - the definitive answer for a device is StopFeederAccepted after scanning.

Note: Read it before scanning is started, it reads a capability from the data source.

Top
See Also

Reference