## Image.GetFrameCount method

返回指定维度的帧数。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| dimension | FrameDimension | 一个FrameDimension指定维度类型的标识。 |

### 返回值

指定维度中的帧数。

### 也可以看看

* class [FrameDimension](../../../system.drawing.imaging/framedimension)
* class [Image](../../image)
* 命名空间 [System.Drawing](../../image)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
