## Image.SelectActiveFrame method

Selects the frame specified by the dimension and index.

```csharp
public int SelectActiveFrame(FrameDimension dimension, int frameIndex)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dimension | FrameDimension | A FrameDimension that specifies the identity of the dimension type. |
| frameIndex | Int32 | The index of the active frame. |

### Return Value

Always returns 0.

### See Also

* class [FrameDimension](../../../system.drawing.imaging/framedimension/)
* class [Image](../)
* namespace [System.Drawing](../../image/)
* assembly [Aspose.Drawing](../../../)


