Scan a single page or multiple pages from a scanner. Each page is saved to an 
ImageGear.Core.ImGearPage available in an 
AfterPage event.
Syntax
            
            
            
            
            'Declaration
 
Public Overloads Sub Acquire( _
   ByVal  As Integer, _
   ByVal  As Boolean _
) 
             
        
            
            'Usage
 
Dim instance As ImGearTWAIN
Dim pageCount As Integer
Dim enableFeeder As Boolean
 
instance.Acquire(pageCount, enableFeeder)
             
        
            
            public void Acquire( 
   int ,
   bool 
)
             
        
            
            public: void Acquire( 
   int ,
   bool 
) 
             
        
            
            public:
void Acquire( 
   int ,
   bool 
) 
             
        
             
        
            Parameters
- pageCount
- Count of pages to scan. -1 scans all available pages.
- enableFeeder
- If the scanner has an AutomaticDocumentFeeder (ADF) Setting the enableFeeder to true will be treated as if the user called the Acquire(Int32) method. Setting the enableFeeder to false will turn off the ADF, and set the pageCount to 1.
 
            Exceptions
            
            
            
            
            
            
            
            
            
            
            See Also