GdipBitmapGetPixel (gdiplus)
Last changed: carlmthomas@alltel.net-69.40.173.217

.
Summary
Retrieve the color of the pixel at position (x,y) in a bitmap.

C# Signature:

[DllImport("gdiplus.dll", CharSet=CharSet.Unicode, ExactSpelling=true)]
static extern int GdipBitmapGetPixel(HandleRef bitmap, int x, int y,
   out int argb);

VB Signature:

Declare Function GdipBitmapGetPixel Lib "gdiplus.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

From the Bitmap class in the System.Drawing namespace (C# version):

    Color color = bitmap.GetPixel(int x, int y);

Documentation