Click or drag to resize

AtalaImageSetPixelColor Method

Sets the color of the pixel.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void SetPixelColor(
	int x,
	int y,
	Color newColor
)

Parameters

x
Type: SystemInt32
The x.
y
Type: SystemInt32
The y.
newColor
Type: System.DrawingColor
The new color.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionx, y;One or more parameters are invalid for this image.
IncompatiblePixelFormatExceptionPixel Format not compatible with SetPixelColor.
See Also