FreeImageBitmap.SetPixel Method

FreeImage.NET

FreeImageBitmapSetPixel Method
Sets the Color of the specified pixel in this FreeImageBitmap.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public void SetPixel(
	int x,
	int y,
	Color color
)

Parameters

x
Type: SystemInt32
The x-coordinate of the pixel to set.
y
Type: SystemInt32
The y-coordinate of the pixel to set.
color
Type: System.DrawingColor
A Color structure that represents the color to assign to the specified pixel.
Exceptions
ExceptionCondition
ExceptionThe operation failed.
NotSupportedExceptionThe type of this bitmap is not supported.
See Also