Bitmap.SetPixel

Bitmap.SetPixel method

Sets the color of the specified pixel in this Bitmap.

public void SetPixel(int x, int y, Color color)
ParameterTypeDescription
xInt32The x-coordinate of the pixel to set.
yInt32The y-coordinate of the pixel to set.
colorColorA Color structure that represents the color to assign to the specified pixel.

See Also