## Bitmap::SetPixel method


Sets the color of the specified pixel in the bitmap image represented by the current object.

```cpp
void System::Drawing::Bitmap::SetPixel(int x, int y, Color color)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | int | X coordinate of the pixel |
| y | int | Y coordinate of the pixel |
| color | Color | The new color to set |

## See Also

* Class [Color](../../color/)
* Class [Bitmap](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
