Solved

Getting the color of a pixel.

Posted on 2000-03-12
2
156 Views
Last Modified: 2010-05-02
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?
0
Comment
Question by:hess
2 Comments
 
LVL 3

Accepted Solution

by:
paulstamp earned 30 total points
ID: 2610344
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
 

Author Comment

by:hess
ID: 2610897
Thankyou very much.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question