NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Bitmap.GetPixel

Gets the color of the specified pixel in this Bitmap.

[Visual Basic]
Public Function GetPixel( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As Color
[C#]
public Color GetPixel(
   int x,
   int y
);
[C++]
public: Color GetPixel(
   int x,
   int y
);
[JScript]
public function GetPixel(
   x : int,
   y : int
) : Color;

Parameters

x
The x-coordinate of the pixel to retrieve.
y
The y-coordinate of the pixel to retrieve.

Return Value

A Color that represents the color of the specified pixel.

See Also

Bitmap Class | Bitmap Members | System.Drawing Namespace