ImageGear .NET v25.1 - Updated
Acquire(Int32) Method




ImageGear.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class > Acquire Method : Acquire(Int32) Method
Count of pages to scan. -1 scans all available pages.
Scan multiple pages from a scanner equipped with an AutomaticDocumentFeeder (ADF). Each page is saved to an ImageGear.Core.ImGearPage available in an AfterPage event.
Syntax
'Declaration
 
Public Overloads Sub Acquire( _
   ByVal pageCount As Integer _
) 
'Usage
 
Dim instance As ImGearTWAIN
Dim pageCount As Integer
 
instance.Acquire(pageCount)
public void Acquire( 
   int pageCount
)
public: void Acquire( 
   int pageCount
) 
public:
void Acquire( 
   int pageCount
) 

Parameters

pageCount
Count of pages to scan. -1 scans all available pages.
Exceptions
ExceptionDescription
Thrown if this method called while a connection with a data source is not open.
Remarks

Prior to calling this method:

In the AfterPage event, the scanned page is made available as an ImageGear.Core.ImGearPage class object.

See Also

Reference

ImGearTWAIN Class
ImGearTWAIN Members
Overload List
ImGearDocument Class
OpenSource Method