ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / PDF Component API Reference / PDF Component Objects Reference / General Objects / HIG_PDF_STREAM / IG_PDF_stream_open_mem_for_read
In This Topic
    IG_PDF_stream_open_mem_for_read
    In This Topic

    Creates a read-only PDF stream from a memory-resident buffer.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_PDF_stream_open_mem_for_read(
            LPSTR lpData,
            UINT nLen,
            LPHIG_PDF_STREAM lphStream 
    );
    

    Arguments:

    Name Type Description
    lpData LPSTR Buffer containing the data to read into the stream. This data buffer must not be disposed of until the stream is closed.
    nLen UINT Length of data, in bytes.
    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 seek-able.