ImageGear for C and C++ on Linux v18.10 - Updated
LPFNIG_IMAGESPOOLED
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_IMAGESPOOLED

This function is called by IG_dspl_document_print() to determine which image in the array of images has just been spooled to the printer.

Declaration:

 
Copy Code
typedef BOOL (ACCUAPI LPFNIG_IMAGESPOOLED) (
        LPVOID lpPrivate, 
        UINT nImageNumber, 
        UINT nPageNumber
);

Arguments:

Name Type Description
lpPrivate LPVOID Far pointer to private data area you provided in your call to IG_dspl_document_print() and IG_dspl_document_print_custom() functions.
nImageNumber UINT A variable of type UINT in which you can keep track of the number of hIGear images just processed in the array of images.
nPageNumber UINT A variable of type UINT in which you can keep track of the number of the page (of paper) being printed.

Return Value:

This callback function returns TRUE if the image is successfully processed, and FALSE if it is not. As soon as the callback function returns FALSE, ImageGear stops processing the images.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The nPageNumber argument is the current page number being printed. This callback does not need to be "registered" by a call to an IG_...CB_register() function.