Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.
Exception | Description |
---|---|
ImageGear.Core.ImGearException | Thrown if this method called while a connection with a data source is not open. |
Prior to calling this method:
- Call OpenSource to select the desired Data Source.
- Call SetCapability to set desired capability values.
- Set up event handlers for the AfterPage event.
In the AfterPage event, the scanned page is made available as an ImageGear.Core.ImGearPage class object.