|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Get PixelDim Color1 As Color = ???????????????.getpixel(680, 562)
If I wanted to find the color of a point on the screen what would I put there? Bitmap.GetPixel Method (as the help said)
Regards, HKSHK Daniel N wrote: Show quoteHide quote > Dim Color1 As Color = ???????????????.getpixel(680, 562) > > If I wanted to find the color of a point on the screen what would I put > there? > > Daniel,
As HKSHK suggests you can use Bitmap.GetPixel to get the color of an individual pixel on a bitmap. You can use Graphics.CopyFromScreen to get a bitmap that contains the colors of pixels on the screen. http://msdn2.microsoft.com/en-us/library/system.drawing.graphics.copyfromscreen.aspx -- Show quoteHide quoteHope this helps Jay B. Harlow [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net "Daniel N" <saintdark_***@yahoo.com> wrote in message news:gAmng.376$Ym7.0@fe12.lga... | Dim Color1 As Color = ???????????????.getpixel(680, 562) | | If I wanted to find the color of a point on the screen what would I put | there? | | |
|||||||||||||||||||||||