This callback, if registered, will be called by ImageGear after all the pages of a document have been scanned, processed and/or saved.
Declaration:
Copy Code | |
---|---|
typedef LONG (LPACCUAPI LPFNIG_TWAIN_AFTER_DOC)( LONG nPageCount, LONG nADFLoaded, LPVOID lpData); |
Arguments:
nPageCount | The number of pages that were scanned into one document. |
nADFLoaded |
Returns the status of the paper supply in the ADF (if an ADF is being used). The following values can be returned:
|
lpData | A far pointer to private data, as specified in your call to IG_TWAIN_CB_register() function. |
Return Value:
Set the return value to 0 to return control to ImageGear.
Supported Raster Image Formats:
Indexed RGB – 1, 4, 8 bpp;
RGB – 24 bpp;
CMYK – 32 bpp;
Gray – 12, 16 bpp.
Remarks:
This callback allows you to find out how many pages have been scanned so far, and the status of the paper availability in the ADF.