ImageGear for C and C++ on Linux v20.0 - Updated
IG_PDF_stream_write_CB_register
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_STREAM > IG_PDF_stream_write_CB_register

Creates a PDF stream from an arbitrary data-producing procedure.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_stream_write_CB_register(
        LPFNIG_PDF_STREAM_PROC lpfnWriteProc,
        LPFNIG_PDF_STREAM_DESTROYPROC lpfnDestroyProc,
        LPVOID lpClientData,
        LPHIG_PDF_STREAM lphStream 
);

Arguments:

Name Type Description
lpfnWriteProc LPFNIG_PDF_STREAM_PROC User-supplied callback that provides the data for the stream.
lpfnDestroyProc LPFNIG_PDF_STREAM_DESTROYPROC User-supplied callback that destroys the specified stream.
lpClientData LPVOID Pointer to user-supplied data to pass to lpfnWriteProc each time it is called.
lphStream LPHIG_PDF_STREAM Handle to the new stream.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The stream is not seek-able.

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