## Image::IsAlphaPixelFormat method


确定指定的像素格式是否包含 alpha 信息。

```cpp
static bool System::Drawing::Image::IsAlphaPixelFormat(Imaging::PixelFormat pixfmt)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| pixfmt | Imaging::PixelFormat | 要测试的像素格式 |

### ReturnValue

如果 **pixfmt** 包含 alpha 信息，则为 true，否则为 false

## 另见

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