## Image::GetPixelFormatSize method


Renvoie le nombre de bits utilisés pour représenter la profondeur de couleur dans le format de pixel spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| pixfmt | Imaging::PixelFormat | Un format de pixel pour lequel déterminer la taille |

### ReturnValue

La profondeur de couleur dans **pixfmt**

## Voir aussi

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