ImageGear Professional DLL v18.1 for Windows
IG_PDF_stream_read_CB_register
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_STREAM > IG_PDF_stream_read_CB_register

Glossary Item Box

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

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_stream_read_CB_register(
        LPFNIG_PDF_STREAM_PROC lpfnReadProc,
        LPVOID lpClientData,
        LPHIG_PDF_STREAM lphStream 
);

Arguments:

Name Type Description
lpfnReadProc LPFNIG_PDF_STREAM_PROC User-supplied callback that supplies the stream's data.
lpClientData LPVOID Pointer to user-supplied data to pass to lpfnReadProc 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. lpfnReadProc is called when the client of the stream attempts to read data from it.

©2014. Accusoft Corporation. All Rights Reserved.