Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- pageCount
- Count of pages to scan. -1 scans all available pages.
- caption
- A caption object that specifies information about a text caption that will be rendered on the acquired image.
Return Value
An ImageGear.Core.ImGearDocument class containing the scanned images.Exception | Description |
---|---|
ImageGear.Core.ImGearException | Thrown if:
|
Prior to calling this method:
- Call OpenSource to select the desired Data Source.
- Call SetCapability to set desired capability values.
- Set UseUI to true if you want to obtain the capability settings from the end user.
Note: This method can also be used to acquire a single page document from a TWAIN device without an ADF. Or it can be used to acquire a multipage document from a TWAIN device whose UI permits scanning multiple images.