## Image::GetPixelFormatSize method


Restituisce il numero di bit usati per rappresentare la profondità di colore nel formato pixel specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| pixfmt | Imaging::PixelFormat | Un formato pixel per il quale determinare la dimensione |

### ReturnValue

La profondità di colore in **pixfmt**

## Vedi anche

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