Scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF)
             to a specified file or directory.
             
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Sub AcquireToFile( _
   ByVal  As String, _
   ByVal  As Integer, _
   ByVal  As ImGearSavingFormats, _
   ByVal  As Boolean _
) 
             
        
            
            'Usage
 
Dim instance As ImGearTWAIN
Dim fileName As String
Dim pageCount As Integer
Dim fileFormat As ImGearSavingFormats
Dim savePagesSeparately As Boolean
 
instance.AcquireToFile(fileName, pageCount, fileFormat, savePagesSeparately)
             
        
            
            public void AcquireToFile( 
   string ,
   int ,
   ImGearSavingFormats ,
   bool 
)
             
        
            
            public: void AcquireToFile( 
   string* ,
   int ,
   ImGearSavingFormats ,
   bool 
) 
             
        
            
            public:
void AcquireToFile( 
   String^ ,
   int ,
   ImGearSavingFormats ,
   bool 
) 
             
        
             
        
            Parameters
- fileName
- The pathname of the file or directory to which pages are stored.
- pageCount
- Count of pages to scan.  -1 scans all available pages.
- fileFormat
- The format of the file to scan to.
- savePagesSeparately
- Specifies whether every scanned page should be saved in the separate file or not.
 
            
            
            
            
            
            
            
            
            
            
            
            See Also