This is preliminary documentation and subject to change. To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Bitmap.SetPixel
Sets the color of the specified pixel in this Bitmap.
[Visual Basic]
Public Sub SetPixel( _
ByVal x As Integer, _ ByVal y As Integer, _ ByVal color As Color _)[C#]
public void SetPixel(
int x, int y, Color color);[C++]
public: void SetPixel(
int x, int y, Color color);[JScript]
public function SetPixel(
x : int,y : int,color : Color);
Parameters
x
The x-coordinate of the pixel to set.
y
The y-coordinate of the pixel to set.
color
A Color that represents the color to assign to the specified pixel.