ImageGear Professional v18.2 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Objects > IGTwainCtl Control > IGTwainCtl Methods > GetNextFile Method |
Gets the next filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo). The Data Source positions the file system context to point to the next filename. IGTWAINFileInfo.Name contains the absolute path and name of the file. If the Application calls GetCurrentImage, the current image will be transferred. A call to GetFirstFile must be issued on a given directory before the first call to GetNextFile.
Use OpenSource to select the desired Data Source, prior to calling this method.
GetNextFile(pFileInfo As IGTWAINFileInfo)
Name | Description |
---|---|
pFileInfo | The IGTWAINFileInfo object created by GetFirstFile. |
N/A