## Image::GetPixelFormatSize method


Gibt die Anzahl der Bits zurück, die zur Darstellung der Farbtiefe im angegebenen Pixelformat verwendet werden.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| pixfmt | Imaging::PixelFormat | Ein Pixelformat, für das die Größe bestimmt werden soll |

### ReturnValue

Die Farbtiefe in **pixfmt**

## Siehe auch

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