ImageGear Professional for Windows ActiveX
AfterDoc Event

Description:

Fired by IGTwainCtl after all the pages of the document have been scanned using Acquire, AcquireToDoc, AcquireToFile methods. It allows you to find out how many pages have been scanned so far, and what the status of the pages availability in the ADF.

Syntax:

Sub AfterDoc(PageCount As Long, ADFLoaded As Long)

Parameters:

Name Description
PageCount The number of pages that were scanned into one document.
ADFLoaded Returns the status of the paper supply in the ADF (if the ADF is being used). The following values can be returned:
  • 0 - ADF is empty
  • 1 - ADF still contains paper
  • -1 - TWAIN does not know if the ADF contains paper or not (i.e., an error occurs in this case).

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback