System::Drawing::Bitmap::SetPixel method

Bitmap::SetPixel method

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

void System::Drawing::Bitmap::SetPixel(int x, int y, Color color)
ParameterTypeDescription
xintX coordinate of the pixel
yintY coordinate of the pixel
colorColorThe new color to set

See Also