API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_STREAM > IG_PDF_stream_open_mem_for_read |
Creates a read-only PDF stream from a memory-resident buffer.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_stream_open_mem_for_read( LPSTR lpData, UINT nLen, LPHIG_PDF_STREAM lphStream ); |
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. |
Error count.
This function does not process image pixels.
The stream is seek-able.