Getting the color of a pixel.

How can i get the color of a specific pixel by x and y cords in a picture box or on an mdi forms picture object?
hessAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
paulstampConnect With a Mentor Commented:
The point method, ie Picture1.Point(x,y) returns the RGB value of the pixel at the specified coordinates (-1 means the x,y pos is outside the bounds of the target object).
0
 
hessAuthor Commented:
Thankyou very much.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.