Moves the memory handle to a specified location.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static bool SeekMemory(
	FIMEMORY stream,
	int offset,
	SeekOrigin origin
)
Visual Basic (Declaration)
Public Shared Function SeekMemory ( _
	stream As FIMEMORY, _
	offset As Integer, _
	origin As SeekOrigin _
) As Boolean
Visual C++
public:
static bool SeekMemory(
	FIMEMORY stream, 
	int offset, 
	SeekOrigin origin
)

Parameters

stream
Type: FreeImageAPI..::.FIMEMORY
Handle to a memory stream.
offset
Type: System..::.Int32
Number of bytes from origin.
origin
Type: System.IO..::.SeekOrigin
Initial position.

Return Value

Returns true on success, false on failure.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also