|
-
February 20th, 2003, 05:40 AM
#1
trying to get the color of pixel on screen
I need to get the color of a single pixel on the screen. I have searched the helpfiles, and the internet for days. I am hoping for something similar in functionality to the GetPixel method of the Bitmap Class. if there are no built in functions in C# or ways to get around to do it. I have no reservations of writing my own class to do this, but I don't know how to access the screen at all. Please help.
-
February 21st, 2003, 02:11 AM
#2
-
February 21st, 2003, 01:30 PM
#3
could you tell us atleast how did u figure out. a sample would be good.
thanx
Paresh
-
February 21st, 2003, 03:16 PM
#4
it in the code on my other post
I don't like the way I have to do it, it takes up more memory that way. I have to take a picture of the whole screen as a bitmap. through the classes in the graphics.cs file. (not mine I found them on the net ) . I knew that I could do it something like that, but I wanted to just get the pixel. oh well.
-
February 21st, 2003, 03:35 PM
#5
ya, that's nice idea though. working with screens' etc isn't it fun !!
but sometimes debuging becomes to much hard specially in drag drop actions.
Paresh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|