## Image::GetFrameCount method


Returns the number of frames of the specified frame dimension.

```cpp
int System::Drawing::Image::GetFrameCount(const Imaging::FrameDimensionPtr &dimension)
```


| Parameter | Type | Description |
| --- | --- | --- |
| dimension | const Imaging::FrameDimensionPtr\& | A frame dimension |

### ReturnValue

The number of frames of the **dimension** frame dimension.

## See Also

* Typedef [FrameDimensionPtr](../../../system.drawing.imaging/framedimensionptr/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
