469,270 Members | 1,117 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

How to see black and white pixels clearly in new bitmap?

I am new to dot net,their is a overlapping of pixel in new bitmap,what is wrong in my approach.
Dim cr As New Bitmap(4, 4)
cr.SetPixel(0, 0, Color.Black)
cr.SetPixel(0, 1, Color.White)
cr.SetPixel(1, 0, Color.White)
cr.SetPixel(1, 1, Color.Black)
Prvwbox.Image = cr

any help me plz.urgent
Oct 24 '10 #1
0 801

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by John J. Hughes II | last post: by
5 posts views Thread by Dale | last post: by
reply views Thread by =?ISO-8859-15?Q?Mathias_W=FChrmann?= | last post: by
2 posts views Thread by ob.lutz | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.