ImageGear Professional v18.2 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Objects > IGTwainCtl Control > IGTwainCtl Methods > CaptureAutomatically Method |
Automatically captures images from the selected TWAIN device. The captured images are stored on the device in ImageDirName directory and can be retrieved through browsing the file system.
Use OpenSource to select the desired Data Source, and SetCapability to set desired capabilities values, prior to calling this method.
CaptureAutomatically(lImageCount As Long,
lTimeBeforeFirstCapture As Long, lTimeBetweenCaptures As Long,
ImageDirName As String)
Name | Description |
---|---|
lImageCount | The number of images to be captured. |
lTimeBeforeFirstCapture | The number of milliseconds before the first picture is to be taken, or the first image is to be scanned. |
lTimeBetweenCaptures | The number of milliseconds to wait between pictures taken or images scanned. |
ImageDirName | The destination directory within the Source (camera, storage, etc), where captured images will be stored. |
N/A