Click or drag to resize

DeviceStartAutomaticCapture Method

Starts an automatic capture process.

This method does not acquire the images. Automatic capture implies that the device is capable of capturing images without the presence of the Application. This means that it must be possible for the Application to close the device and reopen it later, after the images have been captured.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void StartAutomaticCapture(
	string captureDirectory,
	int timeBeforeFirstCapture,
	int timeBetweenCaptures,
	int imageCount
)

Parameters

captureDirectory
Type: SystemString
The directory to save the captured image into.
timeBeforeFirstCapture
Type: SystemInt32
The number of milliseconds before the first image is captured.
timeBetweenCaptures
Type: SystemInt32
The number of milliseconds between captures.
imageCount
Type: SystemInt32
The number of images to capture.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Thrown if timeBeforeFirstCapture or timeBetweenCaptures is less than zero, or if imageCount is less than 1.
See Also