Live Chat Icon For mobile
Live Chat Icon

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

Platform: WinForms| Category: Bitmaps and Images

Use the Bitmap.GetPixel method.

Color c = myBitmap.GetPixel( xPos, yPos);

Dim c as Color = myBitmap.GetPixel( xPos, yPos)

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.