ImageGear for C and C++ on Linux v18.8 - Updated
LPFNIG_PDF_STREAM_DESTROYPROC
API Reference Guide > PDF Component API Reference > PDF Component Callback Functions Reference > LPFNIG_PDF_STREAM_DESTROYPROC

Callback for use by IG_PDF_stream_write_CB_register.

Declaration:

 
Copy Code
typedef void (LPACCUAPI LPFNIG_PDF_STREAM_DESTROYPROC)(
        LPVOID clientData 
);

Arguments:

Name Type Description
clientData LPVOID User-supplied data that was specified in the call to IG_PDF_stream_write_CB_register.

Return Value:

Returns the number of bytes actually read or written.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This callback function is called at end of stream so you can perform clean up and free allocated memory.