getpixel
-
i wrote a program which draws lines on a picturebox when user clickes on it. theres no picture iniside the picture box and i intend to know the color of these pixels programitically.
A.E.K
So what's the question? What part of this are you having a problem with?
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
So what's the question? What part of this are you having a problem with?
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
getpixel needs a bitmap. but my picture box has no bitmap.i draw on it from paint event of the picture box. how can i make a bitmap from such picture box?
A.E.K
You don't. Draw on a bitmap, then show it using the picturebox. You can use the picturebox to give you the mouse events, then do all your drawing on the bitmap.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
You don't. Draw on a bitmap, then show it using the picturebox. You can use the picturebox to give you the mouse events, then do all your drawing on the bitmap.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007