<< Click to Display Table of Contents >> Read (ActiveX / VCL) |
[Professional Edition and above; ActiveX / VCL only]
Reads data from the supplied stream.
method int TVPEStream.Read(
BYTE *buffer,
int size
)
BYTE *buffer
pointer to the buffer, to which the data will be copied from the stream
int size
the number of bytes that shall be read
Returns:
The number of bytes read from the stream.
Remarks:
When reading from a stream, which was written by a VPE method, e.g. WriteDocStream() or PictureStream() etc., you need to call Seek(0) first before calling Read() in order to reset the internal stream pointer to the beginning of the stream.