This documentation is for the old version. Go to the latest Graphics Mill docs

StreamWrapper.Write Method

Writes a specified number of bytes into the stream object starting at the current seek pointer.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Overridable Sub Write ( _
	pv As Byte(), _
	cb As Integer, _
	pcbWritten As IntPtr _
)
C#
public virtual void Write(
	byte[] pv,
	int cb,
	IntPtr pcbWritten
)

Parameters

pv

Type: System.Byte []

Buffer to write this stream to.
cb

Type: System.Int32

The number of bytes to write into the stream.
pcbWritten

Type: System.IntPtr

On successful return, contains the actual number of bytes written to the stream object. The caller can set this pointer to a null reference (Nothing in Visual Basic), in which case this method does not provide the actual number of bytes written.

Remarks

For more information, please see the existing documentation for ISequentialStream::Write in the MSDN library.

See Also

Reference