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

StreamWrapper.Read Method

Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.

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

Syntax

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

Parameters

pv

Type: System.Byte []

On successful return, contains the data read frtom the stream.
cb

Type: System.Int32

The number of bytes to read from the stream object.
pcbRead

Type: System.IntPtr

Pointer to a ULONG variable that receives the actual number of bytes read from the stream object.

Remarks

For more information, please see the existing documentation for IStream::Read in the MSDN library.

See Also

Reference