Selects the frame specified by the index.
Namespace:
FreeImageAPIAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentOutOfRangeException | frameIndex is out of range. |
| System..::.Exception | The operation failed. |
| System..::.InvalidOperationException | The source of the bitmap is not available. |