Selects the frame specified by the index.

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

Syntax

C#
public void SelectActiveFrame(
	int frameIndex
)
Visual Basic (Declaration)
Public Sub SelectActiveFrame ( _
	frameIndex As Integer _
)
Visual C++
public:
void SelectActiveFrame(
	int frameIndex
)

Parameters

frameIndex
Type: System..::.Int32
The index of the active frame.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException frameIndex is out of range.
System..::.ExceptionThe operation failed.
System..::.InvalidOperationExceptionThe source of the bitmap is not available.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also