## Image.GetFrameCount method

Returns the number of frames of the specified dimension.

```csharp
public int GetFrameCount(FrameDimension dimension)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dimension | FrameDimension | A FrameDimension that specifies the identity of the dimension type. |

### Return Value

The number of frames in the specified dimension.

### See Also

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


