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

StreamWrapper.Seek Method

Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.

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

Syntax

Visual Basic
Public Overridable Sub Seek ( _
	dlibMove As Long, _
	dwOrigin As Integer, _
	plibNewPosition As IntPtr _
)
C#
public virtual void Seek(
	long dlibMove,
	int dwOrigin,
	IntPtr plibNewPosition
)

Parameters

dlibMove

Type: System.Int64

Displacement to add to dwOrigin.
dwOrigin

Type: System.Int32

Specifies the origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file.
plibNewPosition

Type: System.IntPtr

On successful return, contains the offset of the seek pointer from the beginning of the stream.

Remarks

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

See Also

Reference