## Image.GetPixelFormatSize method

Renvoie la profondeur de couleur, en nombre de bits par pixel, du format de pixel spécifié.

```csharp
public static int GetPixelFormatSize(PixelFormat pixfmt)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| pixfmt | PixelFormat | LaPixelFormat membre qui spécifie le format pour lequel trouver la taille. |

### Return_Value

La profondeur de couleur du format de pixel spécifié.

### Voir également

* enum [PixelFormat](../../../system.drawing.imaging/pixelformat)
* class [Image](../../image)
* espace de noms [System.Drawing](../../image)
* Assemblée [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
