## Image::GetFrameCount method


返回指定帧维度的帧数。

```cpp
int System::Drawing::Image::GetFrameCount(const Imaging::FrameDimensionPtr &dimension)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 维度 | const Imaging::FrameDimensionPtr\& | 一个帧维度 |

### ReturnValue

指定 **dimension** 帧维度的帧数。

## 另见

* Typedef [FrameDimensionPtr](../../../system.drawing.imaging/framedimensionptr/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
