## Image::GetPixelFormatSize method


返回在指定像素格式下用于表示色深的位数。

```cpp
static int System::Drawing::Image::GetPixelFormatSize(Imaging::PixelFormat pixfmt)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pixfmt | Imaging::PixelFormat | 用于确定大小的像素格式 |

### ReturnValue

在 **pixfmt** 中的颜色深度

## 另见

* Enum [PixelFormat](../../../system.drawing.imaging/pixelformat/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
