ImageGear Professional v18.2 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Callback Functions Reference > LPFNIG_TWAIN_BEFORE_DOC |
This callback, if registered, will be called by ImageGear before any of the pages of a document have been retrieved, processed and/or saved.
Copy Code
|
|
---|---|
typedef LONG (LPACCUAPI LPFNIG_TWAIN_BEFORE_DOC)( LPVOID lpData ); |
Name | Type | Description |
lpData | LPVOID | A far pointer to private data, as specified in your call to IG_TWAIN_CB_register() function. |
Return 1 if you want to continue scanning; return 0 to cancel scanning.
This function does not process image pixels.