 
            | ImageGear22.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : GetNextFile Method | 
'Declaration Public Sub GetNextFile( _ ByVal fileInfo As ImGearFileInfo _ )
'Usage Dim instance As ImGearTWAIN Dim fileInfo As ImGearFileInfo instance.GetNextFile(fileInfo)
public void GetNextFile( ImGearFileInfo fileInfo )
public: void GetNextFile( ImGearFileInfo* fileInfo )
public: void GetNextFile( ImGearFileInfo^ fileInfo )
ImGearFileInfo.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 these methods.