Requests the device to stop feeding new sheets, while all images which were already scanned are still
delivered. This is the graceful way to end continuous scanning - unlike CancelCurrentScanning,
which aborts the acquisition and discards everything the device did not transfer yet.
Sheets which the feeder already picked up are scanned and transferred to the end, including both sides when
duplex is enabled, and scanning finishes on its own once the device reports no more pending transfers -
OnBatchFinished and OnScanningFinished are raised as after a complete batch.
Can be called from any thread, including from within OnSingleImageAcquired. The request is not
executed immediately - the library sends DG_CONTROL / DAT_PENDINGXFERS / MSG_STOPFEEDER to the device as
soon as the transfer in progress ends, because that is the TWAIN state in which data sources accept it.
Do NOT combine with CancelCurrentScanning or with
CancelScanning, they would discard the pending images.
Not every device supports this operation. Use SupportsStopFeeder to check in advance and
StopFeederAccepted to see whether the device actually accepted the request.
Namespace: TwainScanning
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax
Return Value
Type: Booleantrue if the request was accepted, false if no scanning is in progress. Note: true only means that the request is registered, not that the device supports it - see StopFeederAccepted for that.
See Also