ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General Objects > IGPDFStream Object > IGPDFStream Methods > Read Method |
Reads data from the stream into memory.
Read (Items As Long, ItemSize As Integer) As
IGIntegerArray
Name | Description |
---|---|
Items | Number of items to read. The amount of data read into the memory buffer will be Items x ItemSize, unless an EOF is encountered first. The relative values of Items and ItemSize really do not matter; the only thing that matters is their product. It is often convenient to set ItemSize to 1, so that Items is the number of bytes to read. |
ItemSize | Number of bytes in an item in the stream. |
IGIntegerArray Object which contains stream data.