ImageGear Professional v18.2 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Objects > IGTwainCtl Control > IGTwainCtl Methods > AcquireToDoc Method |
Scans multiple pages from a scanner equipped with an Automatic Document Feeder (ADF). The images are stored as separate pages in pDoc.
Use OpenSource to select the desired Data Source, and SetCapability to set desired capabilities values, prior to calling this method.
Set UseUI to True, prior to calling this method, if you want ImageGear to obtain the capability settings from the end-user.
AcquireToDoc(pDoc As IGDocument, NumPages As Long)
Name | Description |
---|---|
pDoc | IGDocument to contain the acquired images - one image per IGPage. |
NumPages | The number of pages t o scan to the document. Setting number of pages to -1 results in acquiring all the available pages. |
None