## Bitmap.SetPixel method

Sets the color of the specified pixel in this Bitmap.

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

| Parameter | Type | Description |
| --- | --- | --- |
| x | Int32 | The x-coordinate of the pixel to set. |
| y | Int32 | The y-coordinate of the pixel to set. |
| color | Color | A Color structure that represents the color to assign to the specified pixel. |

### See Also

* struct [Color](../../color/)
* class [Bitmap](../)
* namespace [Aspose.Drawing](../../bitmap/)
* assembly [Aspose.Drawing.Common](../../../)


