ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Callback Functions Reference > LPFNIG_PDF_STREAM_PROC

Callback for use by IG_PDF_stream_read_CB_register and IG_PDF_stream_write_CB_register.


Copy Code
        LPSTR lpData,
        UINT nDataLen,
        LPVOID clientData 


Name Type Description
lpData LPSTR Buffer into which your procedure must place the number of bytes specified by nDataLen.
nDataLen UINT Number of bytes to read from the stream and place into data.
clientData LPVOID User-supplied data that was specified in the call to IG_PDF_stream_read_CB_register or 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.


This procedure must return the number of bytes specified by nDataLen, obtaining them in any way it wishes.

Is this page helpful?
Yes No
Thanks for your feedback.