ImageGear .NET
GetNextFile Method




The file information.
This method gets the next filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo).
Syntax
'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
) 

Parameters

fileInfo
The file information.
Remarks
The Data Source positions the file system context to point to the next filename. 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.

See Also

Reference

ImGearTWAIN Class
ImGearTWAIN Members
ImGearFileInfo Class

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback