SetPixel()

Bitmap::SetPixel(int, int, Color) 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)

Arguments

ParameterTypeDescription
xintX coordinate of the pixel
yintY coordinate of the pixel
colorColorThe new color to set

See Also