<< Click to Display Table of Contents >> Write (ActiveX / VCL) |
![]() ![]() ![]() |
[Professional Edition and above; ActiveX / VCL only]
Writes data to the supplied stream.
method boolean TVPEStream.Write(
BYTE *buffer,
int size
)
BYTE *buffer
pointer to the buffer, from which the data will be copied to the stream
int size
the number of bytes that shall be written
Returns:
Value |
Description |
True |
success |
False |
failure |
Remarks:
If you want to call a VPE method (for example ReadDocStream() or PictureStream()), after you have written data to a stream, you need to call Seek(0) first before calling Write() in order to reset the internal stream pointer to the beginning of the stream.