## Bitmap.SetPixel method

Définit la couleur du pixel spécifié dans ceBitmap .

```csharp
public void SetPixel(int x, int y, Color color)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| x | Int32 | Coordonnée x du pixel à définir. |
| y | Int32 | Coordonnée y du pixel à définir. |
| color | Color | UNColor structure qui représente le color à affecter au pixel spécifié. |

### Voir également

* struct [Color](../../color)
* class [Bitmap](../../bitmap)
* espace de noms [System.Drawing](../../bitmap)
* Assemblée [Aspose.Drawing](../../../)

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