Write

<< Click to Display Table of Contents >>

Navigation:  Memory Streams >

Write

Previous pageReturn to chapter overviewNext page

[Professional Edition and above; .NET, Java, PHP, etc.]

Writes data to the supplied stream.

method override void TVPEStream.Write(

[InAttribute] [OutAttribute] byte[] buffer,

int offset,

int count

)

byte[] buffer

the buffer, from which the data will be copied to the stream

int offset

offset into the buffer

int count

the number of bytes that shall be written

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.