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
)
Public Sub SetPixelColor (
x As Integer,
y As Integer,
newColor As Color
)
Parameters
- x
- Type: SystemInt32
The x. - y
- Type: SystemInt32
The y. - newColor
- Type: System.DrawingColor
The new color.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | x, y;One or more parameters are invalid for this image. |
IncompatiblePixelFormatException | Pixel Format not compatible with SetPixelColor. |
See Also