ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / TWAIN Component API Reference / TWAIN Component Callback Functions Reference / LPFNIG_TWAIN_BEFORE_DOC
In This Topic
    LPFNIG_TWAIN_BEFORE_DOC
    In This Topic

    This callback, if registered, will be called by ImageGear before any of the pages of a document have been retrieved, processed and/or saved.

    Declaration:

     
    Copy Code
    typedef LONG (LPACCUAPI LPFNIG_TWAIN_BEFORE_DOC)(
            LPVOID lpData
    );
    

    Arguments:

    Name Type Description
    lpData LPVOID A far pointer to private data, as specified in your call to IG_TWAIN_CB_register() function.

    Return Value:

    Return 1 if you want to continue scanning; return 0 to cancel scanning.

    Supported Raster Image Formats:

    This function does not process image pixels.