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

    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.