How do I get the color of a pixel in my bitmap

Platform: WinForms|Category: Bitmaps and Images

Use the Bitmap.GetPixel method.

[C#]
Color c = myBitmap.GetPixel( xPos, yPos);

[VB.NET}
Dim c as Color = myBitmap.GetPixel( xPos, yPos)