Gets the current position of a memory handle.

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

Syntax

C#
public static int TellMemory(
	FIMEMORY stream
)
Visual Basic (Declaration)
Public Shared Function TellMemory ( _
	stream As FIMEMORY _
) As Integer
Visual C++
public:
static int TellMemory(
	FIMEMORY stream
)

Parameters

stream
Type: FreeImageAPI..::.FIMEMORY
Handle to a memory stream.

Return Value

The current file position if successful, -1 otherwise.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also